Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
please advice
- X-seq: zsh-users 3236
- From: Mircea Damian <dmircea@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: please advice
- Date: Fri, 30 Jun 2000 14:27:52 +0300
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Hello,
I'm trying to use and old bash script and port it to zsh.
It now basically does:
#!/bin/zsh
if [ $# -gt 0 ]; then
echo "Number of arguments: $#"
exit
fi
PRGARG="-bla1 -bla2 -bla3"
$0 $PRGARG
In zsh the number of arguments will be 1. How can I expand(?) it to three
as bash does?
--
Mircea Damian
E-mails: dmircea@xxxxxxxx, dmircea@xxxxxxxxx
WebPage: http://taz.mania.k.ro/~dmircea/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author