🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #5079

Re: perl question about > in file name

#5079
From: Larry Wall
Date: Tue, 06 Jun 1989 22:19
10 lines
940 bytes
In article <568@megatek.UUCP> frankel@corona.UUCP (Allan Frankel) writes:
: To write to ">a" it would presumably be necessary to delete (or truncate)
: it first and then open ">>>a".

Actually, it suffices to put a space after the first >, as in "> >a".
Of course, this means you can't easily create a filename starting with spaces,
but why would you want to do that anyway?

Larry Wall
lwall@jpl-devvax.jpl.nasa.gov
Technical Details
Message-ID: <5058@jpl-devvax.JPL.NASA.GOV>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!elroy!jpl-devvax!lwall
References: <123@zip.eecs.umich.edu> <568@megatek.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!elroy!jpl-devvax!lwall
From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall)
Newsgroups: comp.sources.d
Subject: Re: perl question about > in file name
Keywords: perl
Message-ID: <5058@jpl-devvax.JPL.NASA.GOV>
Date: 6 Jun 89 22:19:13 GMT
References: <123@zip.eecs.umich.edu> <568@megatek.UUCP>
Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall)
Organization: Jet Propulsion Laboratory, Pasadena, CA.
Lines: 10