Tom :debian: on Nostr: I like to make my bash scripts as efficient as possible, but they just confuse me ...
I like to make my bash scripts as efficient as possible, but they just confuse me when I come back and look at them later.
Completely forgot you could cat multiple files and it auto merges them all:
cat -v file.a file.b file.c > merged.file
Also didn't even realise I used -v, spent a lot of time going through pages and converting non-printable characters.
Completely forgot you could cat multiple files and it auto merges them all:
cat -v file.a file.b file.c > merged.file
Also didn't even realise I used -v, spent a lot of time going through pages and converting non-printable characters.