Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jcalvinowens
10 months ago
|
parent
|
context
|
favorite
| on:
Why not parse `ls` and what to do instead
Not sure how portable it is, but gnu ls has a flag to solve this problem trivially:
--zero end each output line with NUL, not newline
Aaron2222
10 months ago
[–]
Not available in macOS `ls` unfortunately.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: