3 ms·
The great thing with old tools is that it had decades of testing and most even obscure bugs are already found and fixed. If I run 'cat' in my shell I know it w
by Calzifer 5y ago
The great thing with old tools is that it had decades of testing and most even obscure bugs are already found and fixed.
If I run 'cat' in my shell I know it will print/output the file content.
If I run 'shx cat' I get an interpretation of my file content.
One use of 'cat' is to concatenate multiple files into one. Works great with classic cat, not so much with Shelljs.
$ echo -ne "\0xac" > test.dat
$ cat test.dat | xxd
00000000: ac .
$ shx cat test.dat | xxd
00000000: efbf bd ...