Re: TCSH weirdness with sed
From: Carlos J. G. Duarte (cjgd_at_clix.pt)
Date: Thu, 08 Jan 2004 16:51:37 +0000
Kevin Furrow wrote:
> The idea is that it will echo to stdout whatever arguments have been
> provided, but if there have been any quoted arguments, it will treat them
> separately. So, if I do this:
> mytest "dx=1 dy=8 dz=10"
> it works. i.e., the output is:
Do that stuff in tcsh exclusively, it's faster than to calling external
programs and you don't have to worry with quotations (well, sort of).
Here's an example of what you want:
#! /bin/csh -f
while ( $# > 0 )
foreach f ( $1 )
-- carlos ** http://cgd.sdf-eu.org