Bug#385559: p7zip: Use of ! in command-line switches requires escaping in Bash; please use different character
Package: p7zip Version: 4.42.dfsg.1-2 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Running this produces a Bash error: $ 7zr a test.7z Scripts/ -x!Nothing bash: !Nothing: event not found However, according to the man page and the p7zip manual, it's correct syntax. However, it's also very non-standard, as far as I know. It doesn't seem like you should have to escape a character like that in normal usage. Could the ! be changed to something else, maybe an = or...? - -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-k7 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages p7zip depends on: ii libc62.3.6.ds1-4 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-11 GCC support library ii libstdc++6 4.1.1-11The GNU Standard C++ Library v3 Versions of packages p7zip recommends: pn p7zip-fullnone (no description available) - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE9+ax5+GdyTDsrJsRAhqgAKDHHqunsatl9f44PUiwD56Ag1pr/QCeKlqC zEm9+9mllmQR3P2R7J9i+Hw= =Wc+3 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#385559: p7zip: Use of ! in command-line switches requires escaping in Bash; please use different character
On Fri, Sep 01, 2006, Adam Porter wrote: Package: p7zip Version: 4.42.dfsg.1-2 Severity: wishlist Running this produces a Bash error: $ 7zr a test.7z Scripts/ -x!Nothing bash: !Nothing: event not found However, according to the man page and the p7zip manual, it's correct syntax. However, it's also very non-standard, as far as I know. It doesn't seem like you should have to escape a character like that in normal usage. Could the ! be changed to something else, maybe an = or...? Hi Adam, and thanks for keeping me updated on your use of p7zip. That really helps improving p7zip. As for the escaping ! problem, I don't consider it a bug in p7zip to use ! as a command line switch. ! is an extension in bash and zsh, but it is not here in dash. So, as far as I am concerned, it is totally OK to have ! in the command-line. And if you see the use of find or egrep, you'll find that you have to escape (, ), |, ... With zsh: % echo !a zsh: event not found: a With dash: % echo !a !a I don't think upstream is going to include such a change because DOS command lines don't need escaping !. So forwarding is not worth it. So I really tend to tag this bug wontfix or even close it. -- adn Mohammed Adnène Trojette
Bug#385559: p7zip: Use of ! in command-line switches requires escaping in Bash; please use different character
On Friday 01 September 2006 03:50, you wrote: Hi Adam, and thanks for keeping me updated on your use of p7zip. That really helps improving p7zip. No problem. Thank you for packaging it. I don't think upstream is going to include such a change because DOS command lines don't need escaping !. So forwarding is not worth it. So I really tend to tag this bug wontfix or even close it. Oh well, I tried. :) pgphLCUkEkAtY.pgp Description: PGP signature