Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(:r) ???
- X-seq: zsh-users 9203
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: (:r) ???
- Date: Sat, 30 Jul 2005 14:04:09 +0200 (CEST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
i="mc-4.6.1-2005-07-25-14.diff.bz2"
echo $i
--> mc-4.6.1-2005-07-25-14.diff.bz2
echo $i(:r)
--> mc-4.6.1-2005-07-25-14.diff
fn=$i(:r)mc-4.6.1-2005-07-25-14.diff
echo $fn
--> mc-4.6.1-2005-07-25-14.diff.bz2(:r)
fn="$i(:r)"
echo $fn
--> mc-4.6.1-2005-07-25-14.diff.bz2(:r)
or in other words:
How can I make fn contain "mc-4.6.1-2005-07-25-14.diff" ?
Thank you very much for any help or hint !
Have a nice weekend !
Meino
Messages sorted by:
Reverse Date,
Date,
Thread,
Author