• ZOO archiver example (updated)

    From Björn Wiberg@2:201/137 to g00r00 on Wed Aug 4 15:22:28 2021
    Hello again g00r00!

    On 04 Aug 2021, Bj”rn Wiberg said the following...
    Pack Cmd ³ zoo ahP: "%1" %2 >>
    Unpack Cmd ³ cd "%3" 2>/dev/null&&{ zoo xOOS: "%1" "%2";RC=$?;cd ->>/dev/null; };exit $RC >>
    View Cmd ³ zoo lVCm "%1" >> "%3%2" 2> /dev/null; exit $? >>

    Simplified some of the command lines, and arrived at:

    Pack Cmd ³ zoo ahP: "%1" %2 >>
    Unpack Cmd ³ { cd "%3" && zoo xOOS: "%1" "%2"; }
    View Cmd ³ { zoo lVCm "%1" >> "%3%2"; } >>

    The command groups will ensure that all output will be handled "as a whole" by the redirection at the end (and Mystic's addition to that).

    "And that's final!" ;-)

    Best regards
    Bj”rn

    --- Mystic BBS v1.12 A47 2021/07/31 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)