From 8de02e8e7565ebf0dd67802843cc35af7df7af6f Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Tue, 19 Mar 2019 19:15:42 +0300 Subject: [PATCH] added file conversion support --- Diff/Mod/Main.odc | Bin 15703 -> 18215 bytes Diff/Script/build-linux.sh | 2 +- README | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Diff/Mod/Main.odc b/Diff/Mod/Main.odc index e7eab5d74885b3f2105e74cd33ea29fd320ef5e4..33bfec8ef3ef54b81bdb42b728cac2042ebc6545 100644 GIT binary patch delta 2864 zcmb_e-EZ4e6t|PKowI&TUAwedyIXH#&Sz7x4c2rWZR)PsN;;+42M;=Tf!w?T3#vcIZT-!*w^>| z&hMP_^Euc4`pT`>__dnnotf(|o%cVGIZog>?q~V>Pt%^)Wg6!vcD|Y7xGtEy0ayE| z`sh{uJb!_H%ZJ#x7Z0I0Zi+x@u`qoWuno-zA^F)Otdzr4Fte3U|+aD=$fy$6(!@c^q6ljHVC6u zKi=c1wG&6jal~}k1tY#2=P-jdy5d{px6x0=2k7s<{rpwh-||N5G-Rq5EUV>+r*>Mq zsOgurba|N^CE|*GM~dZT-7r-{Om+x@1CdwPLDbbINLst3lz_v*xaLIBmWT@^nr@QH zvbtEz7u6-koYscHPF^+9x4LSoTBWFK>w(t&wzv6hz!*g)dVPBzpQP7>o7O)6LEb|o z`r$x;&in6KC)*P||2TcV<8z;IW-?2E9oTKnbiUO>2fDY@`JT?hSuzeZ6J#8C*x8&A zLrIcTo=uVk(y&cMP0k3q6BnD_f9mA=WWAHCMy+{xMq!P>t?3y^>54! zb*U~m-O&{kQuCQJayBPt>FusSE$f8T09D42ZBE07gK?6vqa@|VTZxw-16(>go1T+d zB4jVgr02-=Jj@E|88#OOEnr?0Np4oo;DW%EXqE%XYX}S>U&AzCEUCHbvbw>3Gl3|D z;~1+WFY?7*nHv^>)}$EY^=bC%uoR+)Rm-&X8q8UmPR$UKqCvH0ku=7@3-%pOYsuA>41;unwIa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DIR/../.." DevCompiler.CompileThis DiffBase DiffSys DiffSysLinuxLibc DiffSysLinux DiffMain -Dev2Linker1.LinkElf Linux odctool := Kernel$+ Files HostFiles HostConsole Log Math Strings Dialog Meta Stores Sequencers Models Converters Fonts Ports Services Views Printers Dates Printing Controllers Mechanisms Properties Containers Documents Windows Console StdInterpreter StdDialog StdApi StdCmds StdCFrames Controls HostFonts HostWindows HostDialog TextModels TextRulers TextSetters TextViews TextControllers TextMappers StdStamps StdClocks StdFolds StdETHConv StdLinks HostTextConv StdLog DevCommanders DiffBase DiffSys DiffSysLinux DiffMain +Dev2Linker1.LinkElf Linux odctool := Kernel$+ Files HostFiles HostConsole Log Math Strings Dialog Meta Stores Sequencers Models Converters Fonts Ports Services Views Printers Dates Printing Controllers Mechanisms Properties Containers Documents Windows Console StdInterpreter StdDialog StdApi StdCmds StdCFrames Controls HostFonts HostWindows HostDialog TextModels TextRulers TextSetters TextViews TextControllers TextMappers StdStamps StdClocks StdFolds StdETHConv StdLinks HostTextConv XhtmlWriters XhtmlEntitySets XhtmlStdFileWriters XhtmlTextTableMarkers XhtmlExporter StdLog DevCommanders DiffBase DiffSys DiffSysLinux DiffMain DATA diff --git a/README b/README index bbee7ba..c5b7788 100644 --- a/README +++ b/README @@ -41,7 +41,7 @@ Integration with git 2. Create script odctool-gitdiff: #! /bin/sh - odctool diff -C -p "$1" "$2" "$5" + odctool diff -x -X -C -p "$1" "$2" "$5" 3. Add to .git/config: @@ -79,14 +79,14 @@ Integration with ranger # BlackBox Compound Document odc) - odctool -C cat "${FILE_PATH}" && exit 5 + odctool -C -X cat "${FILE_PATH}" && exit 5 exit 1;; esac } 2. To open/read documents add to $HOME/.config/ranger/rifle.conf: - ext odc, has odctool, terminal, file = odctool -C cat "$1" | less --tabs=2 -S + ext odc, has odctool, terminal, file = odctool -C -X cat "$1" | less --tabs=2 -S Current state -- 2.29.2