• ZOO archiver example (updated)

    From Björn Wiberg@2:201/137 to g00r00 on Wed Aug 4 15:22:29 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)