Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
silvestrov
on June 25, 2024
|
parent
|
context
|
favorite
| on:
Why not parse `ls` and what to do instead
If I need filesize and filename then I still need to parse a filename that might contain all kinds of weird ascii control characters or weird unicode.
JSON makes that a lot less fragile.
ykonstant
on June 25, 2024
[–]
I don't get it; I need a concrete example.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
JSON makes that a lot less fragile.