Here’s a sequence of commands I just entered in USS:
14:38 /u/tstjv > ls file
t IBM-1047 T=on -rwxr-xr-x nl 1 5 Apr 6 14:38 file
14:38 /u/tstjv > sed -i 's/f/p/g' file
14:39 /u/tstjv > ls file
- untagged T=off -rwxr-xr-x ---- 1 5 Apr 6 14:39 file
As you can see, the EBCDIC encoding is lost. Does anybody know what’s going on? Thanks.
Edit: command -v sed
yields /rsusr/ported/bin/sed
.