🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6734

Re: PIPEs

#6734
From: Pete Goodeve
Date: Sat, 17 Nov 1990 09:35
17 lines
1057 bytes
In  <8292@gollum.twg.com> (16 Nov),
David S. Herron (david@twg.com) writes:
>
> Now changing the `extension' like your example above is harder:
>
>       for f in *.[ch]; do
>               mv $f `echo $f | sed 's/^\([^\.]*\)\.c$/\1.h/'`
>       done
>
> It may look ugly but at least it's succint ;-)...
>

Heh heh!  ...And this is the guy who was complaining about the PIPE
command tentative syntax! (:-))

                                        -- Pete --
Technical Details
Message-ID: <1990Nov17.093551.8039@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!linus!agate!violet.berkeley.edu!pete
References: <1990Nov7.235254.13959@opusc.csd.scarolina.edu> <7025@sugar.hackercorp.com> <8292@gollum.twg.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!linus!agate!violet.berkeley.edu!pete
From: pete@violet.berkeley.edu (Pete Goodeve)
Newsgroups: comp.sys.amiga.tech
Subject: Re: PIPEs
Message-ID: <1990Nov17.093551.8039@agate.berkeley.edu>
Date: 17 Nov 90 09:35:51 GMT
References: <1990Nov7.235254.13959@opusc.csd.scarolina.edu> <7025@sugar.hackercorp.com> <8292@gollum.twg.com>
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Distribution: na
Organization: University of California, Berkeley
Lines: 17