Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Parameter expansion
- X-seq: zsh-users 2273
- From: r.hooft@xxxxxxxxxxxx (Rob Hooft)
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Parameter expansion
- Date: Thu, 1 Apr 1999 08:20:29 +0200 (MZT)
- In-reply-to: <990331075131.ZM24171@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990331173542.A19100@xxxxxxxx> <slrn7g4do9.pg4.mason@xxxxxxxxxxxxxxxxxxxxx> <19990331180401.A20114@xxxxxxxx> <990331075131.ZM24171@xxxxxxxxxxxxxxxxxxxxxxx>
>>>>> "BS" == Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
BS> On Mar 31, 6:04pm, Mircea Damian wrote: } Subject: Re: Parameter
BS> expansion } } On Wed, Mar 31, 1999 at 02:54:01PM +0000, Geoff
BS> Wing wrote: } > Mircea Damian <dmircea@xxxxxxxx> typed: } > :zip
BS> backup.zip $(<index.txt) } > } > zip backup.zip $(eval echo
BS> $(<index.txt))
BS> eval zip backup.zip $(<index.txt)
BS> zip backup.zip ${~$(<index.txt)}
I understand this is a zsh mailinglist, but I find the shell-independent
xargs zip backup.zip < index.txt
more readable, and it gracefully handles the case where index.txt is too
long for the command line....
--
===== R.Hooft@xxxxxxxxxxxx http://www.xs4all.nl/~hooft/rob/ =====
===== R&D, Nonius BV, Delft http://www.nonius.nl/ =====
===== PGPid 0xFA19277D ========================== Use Linux! =========
Messages sorted by:
Reverse Date,
Date,
Thread,
Author