-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Linux filesystems are case-sensitive, but when files are read or written via the < (diskr) or > (diskw) (or presumably >> (diska)) stages, their filenames are translated to lower-case, and then the stages are not able to find them.
Example:
$ cat FixSpaces.njp
pipe (fixSpaces debug 128)
< TestFileIn.html |
change / / / |
> TestFileOut.html
$ pipc FixSpaces
pipe (fixSpaces debug 128) < TestFileIn.html | change / / / | TestFileOut.html
$ ls -l *ixSpaces* *.html
-rw-r--r-- 1 leslie users 3732 2025-10-21 06:43 fixSpaces.class
-rw-r--r-- 1 leslie users 89 2025-10-21 06:40 FixSpaces.njp
-rw-r--r-- 1 leslie users 0 2025-10-21 06:39 TestFileIn.html <== TestFileIn
$ java fixSpaces
Arg diskr_1 = testfilein.html <== testfilein (!)
Arg change_2 = / / /
Arg diskw_3 = testfileout.html <== testfileout (!)
RC=13
openSUSE
VERSION = 15.6
NetRexx portable processor 5.01-GA build 4-20250502-1546
Copyright (c) RexxLA, 2011,2025. All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.
Program version.nrx
Compilation of 'version.nrx' successful