Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
passing parameters
- X-seq: zsh-users 8776
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: passing parameters
- Date: Thu, 05 May 2005 22:42:43 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi
I have a script which as follows which works fine (where ftx is going to search for tex docs with
pink & main in the name)
>ftx "pink.*main"
however I thought I'd convert it so that i could write
> ftx pink main
and then rebuild "pink.*main" string inside the function however it doesn't seem to work
param="$1.*$2"
$param is not treated the same as the original $1
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author