Article View: comp.sources.d
Article #5085Re: perl question about > in file name
From: Brandon S. Allbery
Date: Thu, 08 Jun 1989 22:49
Date: Thu, 08 Jun 1989 22:49
19 lines
1265 bytes
1265 bytes
As quoted from <123@zip.eecs.umich.edu> by don@zippy.eecs.umich.edu (Don Winsor):
+---------------
| begins with ">>", the file is opened for appending.
|
| This seems to preclude any nice way to access files whose names
| may contain arbitrary characters. Is there any way around this?
+---------------
Use backslashes to escape them, probably.
Before you flame this as not being transparent enough: even C has to escape
the \ and " characters.
++Brandon
--
Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org
uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu
Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser
Technical Details
Message-ID:
<13733@ncoast.ORG>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sun-barr!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allberyReferences:
<123@zip.eecs.umich.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sun-barr!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: comp.sources.d Subject: Re: perl question about > in file name Message-ID: <13733@ncoast.ORG> Date: 8 Jun 89 22:49:24 GMT References: <123@zip.eecs.umich.edu> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sources.d Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 19