c0defellas / enzo

core utilities
11 stars 2 forks source link

ls should use only newlines #31

Closed i4ki closed 7 years ago

i4ki commented 7 years ago

Current ls implementation uses space for file separation in output, and apart from this messing the output, it's not compatible with old ls implementations (broke some scripts, including nash hack/check.sh).

GNU ls apparently use tabular output if stdout is /dev/stdout and one-file-per-line if stdout was changed to somewhere else.

I'm proposing to use newline to separate files in output in every case.