Section One BBS

Welcome, Guest.


Subject: Stop processing options (--) for archivers? Date: Sat Aug 07 2021 09:46 am
From: Bj”rn Wiberg To: g00r00

Hello g00r00!

Just a suggestion to add "--" to the command lines (Pack Cmd, Unpack Cmd, View
Cmd) of archivers, where possible, to avoid filenames starting with "-" to be
interpreted as options.

My findings are that this can be done for zip, rar and 7z, but NOT for lha (or
zoo or arc, if you have those).

N.B.: For the zip Unpack Cmd, the -- is not allowed until AFTER the archive
name!
Pack Cmd │ zip -qj9 "%1" -- %2

Best regards
Björn

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

Previous Message       Next Message