Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3712

Re: Windows paths without double reverse virgules

Newsgroups comp.lang.postscript
Date 2021-12-30 20:28 -0800
References <ca5674d3-94fd-4ddb-be38-2137da26faa2n@googlegroups.com> <b27c1fd1-21b3-4e1f-83bd-d72c50bb978an@googlegroups.com>
Message-ID <6a080e9f-ea89-43d6-ac96-0c46aeaadd73n@googlegroups.com> (permalink)
Subject Re: Windows paths without double reverse virgules
From luser droog <luser.droog@gmail.com>

Show all headers | View raw


On Thursday, December 30, 2021 at 7:29:35 PM UTC-6, luser droog wrote:
> On Thursday, December 30, 2021 at 5:57:58 PM UTC-6, luser droog wrote: 
> > Opinion: double backslashes are stupid. 
> > 
> > Ergo, how don't to? 
> >
> %the Forth way? even Forthier? 
> /path { currentfile 1024 string readline pop exch file } def 
> 
> % percent is a delimiter, so it doesn't even need spaces 
> (r)path%os%C:\my\path\up\this\tree\to\my\filename 
> (w) path %os%C:\my\path\to\log\file 
> 
> Note: this may not work in an executive session since input then has an 
> extra layer of line buffering.

Wait. Hmm. That shouldn't be problem, right? If currentfile is %lineedit,
then .... I dunno. sleepy

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

Windows paths without double reverse virgules luser droog <luser.droog@gmail.com> - 2021-12-30 15:57 -0800
  Re: Windows paths without double reverse virgules luser droog <luser.droog@gmail.com> - 2021-12-30 17:29 -0800
    Re: Windows paths without double reverse virgules luser droog <luser.droog@gmail.com> - 2021-12-30 20:28 -0800

csiph-web