TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-08-07 09:46:00
subject: Stop processing options (

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.