🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #3300

Re: adding file suffix

#3300
From: Sherwood Botsford
Date: Tue, 10 Nov 1992 18:47
6 lines
655 bytes
Charles William Swiger writes
> foreach f ( * )    <type return>
> mv $f ${f:r}.tiff  <type return>
> end                <type return>

What does the :r do?
Technical Details
Message-ID: <1992Nov10.184750.24693@kakwa.ucs.ualberta.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
References: <oezPSP_00WBOA4CI0a@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
From: sherwood@space.ualberta.ca (Sherwood Botsford)
Subject: Re: adding file suffix
Message-ID: <1992Nov10.184750.24693@kakwa.ucs.ualberta.ca>
Sender: news@kakwa.ucs.ualberta.ca
Nntp-Posting-Host: fenris.space.ualberta.ca
Organization: University Of Alberta, Edmonton Canada
References: <oezPSP_00WBOA4CI0a@andrew.cmu.edu>
Date: Tue, 10 Nov 1992 18:47:50 GMT
Lines: 6