zsh-users
 help / color / mirror / code / Atom feed
From: r.hooft@euromail.net (Rob Hooft)
To: zsh-users@sunsite.auc.dk
Subject: Re: Parameter expansion
Date: Thu, 1 Apr 1999 08:20:29 +0200 (MZT)	[thread overview]
Message-ID: <14083.4141.374266.213229@octopus.chem.uu.nl> (raw)
In-Reply-To: <990331075131.ZM24171@candle.brasslantern.com>

>>>>> "BS" == Bart Schaefer <schaefer@brasslantern.com> 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@kappa.ro> 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@EuroMail.net   http://www.xs4all.nl/~hooft/rob/  =====
=====   R&D, Nonius BV, Delft  http://www.nonius.nl/             =====
===== PGPid 0xFA19277D ========================== Use Linux! =========


  reply	other threads:[~1999-04-01  6:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-31 14:35 Mircea Damian
1999-03-31 14:54 ` Geoff Wing
1999-03-31 15:04   ` Mircea Damian
1999-03-31 15:51     ` Bart Schaefer
1999-04-01  6:20       ` Rob Hooft [this message]
1999-04-01  7:30         ` Geoff Wing
1999-04-01  7:33         ` Bart Schaefer
1999-05-17  9:39 Roland Jesse
1999-05-17  9:23 ` Peter Stephenson
2017-08-13 22:58 Parameter Expansion Clint Priest
2017-08-13 23:51 ` Bart Schaefer
2017-08-14  0:07   ` Bart Schaefer
2017-08-14  1:16     ` Clint Priest

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14083.4141.374266.213229@octopus.chem.uu.nl \
    --to=r.hooft@euromail.net \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).