Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
yjftsjthsd-h
3y ago
0 comments
Share
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)
0 comments
default
newest
oldest
lovelymono
3y ago
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
OP
3y ago
Huh, good catch. Not sure why `man 1p ls` didn't give me that:\
j
/
k
navigate · click thread line to collapse