News for hackers. Stuff that matters.
Re:Fixing Unix/Linux/Posix Filenames: Control Characters (Su... by JdeBP on Sunday March 10, 2019 @05:00AM (#19351075)
Hence Greg Wooledge's famous advice not to parse the output of ls. As catern points out, in a fully-fledged systems programming language, one can just directly call the library routines that read directories. And thereby obtain metadata without having to parse it from locale-dependent forms, too.

* https://mywiki.wooledge.org/ParsingLs

* https://unix.stackexchange.com/a/503711/5132

There are no comments on this comment yet.