Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or `irm myrouter {ls c:\logs} | ? length -gt 50kb` to match the original example, right?

Serializing structured data is a pretty solved problem, and I wonder if decades of UNIX going out of its way to screw this up is confusing the parent poster. XML is certainly a way to do it that works just fine, but there are a million others. None of them require awk or counting spaces.



You're right. And I also screwed up "irm". It should have been "icm". Apologies.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: