3 ms·
That's GNU ls; AFAICT -1 and -p aren't POSIX so might not work on other unix-likes (most prominently Darwin, but also the BSDs)
by yjftsjthsd-h 4y ago
That's GNU ls; AFAICT -1 and -p aren't POSIX so might not work on other unix-likes (most prominently Darwin, but also the BSDs)
- lovelymono 4y agohttps://pubs.opengroup.org/onlinepubs/009696899/utilities/ls.html https://pubs.opengroup.org/onlinepubs/009696899/utilities/ls... lists both -p and -1. And while -p is marked as an XSI extension, both Darwin and all modern BSD distributions implement it.
- yjftsjthsd-h 4y agoHuh, good catch. Not sure why `man 1p ls` didn't give me that:\