Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

(:r) ???



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