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: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-08 06:16:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!koehler From: koehler@encompasserve.org (Bob Koehler) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 8 Jan 2002 08:16:27 -0600 Organization: Encompasserve Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C338089.1C12E6FA@trailing-edge.com> <3C39F2ED.DD935983@bartek.dontspamme.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010499389 26981 192.135.80.34 (8 Jan 2002 14:16:29 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 8 Jan 2002 14:16:29 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:59064 alt.sys.pdp10:9275 comp.sys.dec:11193 In article <3C39F2ED.DD935983@bartek.dontspamme.net>, Arthur Krewat writes: > The following works w/Solaris but should work on any system with bourne > shell. Note the double quotes and the use of $NF w/awk to pick off the > LAST field to get the extension - this allows dots in the file name > too (YMMV - unspecified behavior if an extension is not on the source > file). OK, so we're agreed one has to put the fix in the shell function and it can't be done by wuoting the file name to the original function? OBTW, thanks for the fix, now I'll go update my shell functions.