2 ms·
From “man ls”: -b, --escape print C-style escapes for nongraphic characters I'd also add: -1 list one file per line. Avoid '\n' with -q or -
by dspillett 5y ago
From “man ls”:
-b, --escape
print C-style escapes for nongraphic characters
I'd also add:
-1 list one file per line. Avoid '\n' with -q or -b
to make sure you can easily split the list by just the EOL, in case for some reason it thinks it is talking to a terminal and tries for format things for a human.