On 2016/01/17 14:29, Ted Unangst wrote: > Ingo Schwarze wrote: > > The old ls(1) also weeded out non-printable bytes, in particular > > control codes. > > The old ls only had this behavior for terminals however. Redirecting to a file > or pipe would always output the original bytes.
I've used this a few times in the past, for example "ls | hexdump -C" or .."| vis", to find out what the characters used in some filename are. I'd find it surprising for this to not work.