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: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:57:16 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,509 |