Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug or feature?
- X-seq: zsh-workers 12429
- From: Juhapekka Tolvanen <juhtolv@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Bug or feature?
- Date: Fri, 28 Jul 2000 20:45:19 +0300 (EEST)
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <1000728171041.ZM9728@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
On Fri, 28 Jul 2000, Bart Schaefer wrote:
> On Jul 28, 7:30pm, Juhapekka Tolvanen wrote:
> } % zsh --version
> Hmm, I'm a little surprised that zsh silently ignored that. I believe
> it's treating it the same as `--' (end of options). Zsh is not a GNU
> package and doesn't understand any "long options".
Is it too much work to teach zsh to understand long-options?
How about adding some single-letter option, that makes zsh to output its
version-number and then exit succesfully? -v, -V, -r and -R are already
reserved, though.
> I also note:
>
> zagzig[265] bash --version
> bash: --: bad option
juhtolv@heresy : /home/juhtolv
% bash --version 7720 | pts/5
GNU bash, version 2.03.0(1)-release (i386-pc-linux-gnu)
Copyright 1998 Free Software Foundation, Inc.
Which version of bash you have? BTW In Red Hat Linux bash version 2.0.* is
in package bash2.
--
Juhapekka "naula" Tolvanen * U of Jyväskylä * juhtolv@xxxxxxxxx
http://www.cc.jyu.fi/~juhtolv/ * * "STRAIGHT BUT NOT NARROW !!"
---------------------------------------------------------------
"if i was twice the man i could be, i'd still be half of what
you need" Nine Inch Nails
Messages sorted by:
Reverse Date,
Date,
Thread,
Author