Opinion: double backslashes are stupid.
Ergo, how don't to?
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 109:15:19 |
Calls: | 6,852 |
Calls today: | 3 |
Files: | 12,355 |
Messages: | 5,416,164 |