• Windows paths without double reverse virgules

    From luser droog@21:1/5 to All on Thu Dec 30 15:57:57 2021
    Opinion: double backslashes are stupid.

    Ergo, how don't to?

    %the Forth way?
    /path { currentfile 1024 string readline pop } def

    path %os%C:\my\path\up\this\tree\to\my\filename
    (r) file

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luser droog@21:1/5 to luser droog on Thu Dec 30 17:29:34 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luser droog@21:1/5 to luser droog on Thu Dec 30 20:28:21 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)