From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-07 11:22:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.usenet2.org!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 7 Jan 2002 19:04:56 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1010430296 4222 10.0.0.43 (7 Jan 2002 19:04:56 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 7 Jan 2002 19:04:56 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:58836 alt.sys.pdp10:9228 comp.sys.dec:11140 In article , Bob Koehler wrote: > won't do for me on one line. But I can't "copy a\ a.c b", and > I've tried all kinds of escape and quotes with the file name a\ a.c I have marked the lines I changed with "!": >function copy >{ ! i="`echo $1 | awk -F. '{print $2}'`" ! j="`echo $2 | awk -F. '{print $2}'`" ! k="`echo $2 | awk -F. '{print $1}'`" > ! if [ ".$j" = "." ] > then ! to="$k.$i" > else ! to="$2" > fi > ! cp "$1" "$to" >} -- Rev. Peter da Silva, ULC. WWFD? "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)