Hacker News new | past | comments | ask | show | jobs | submit login

But... Bash (sh) is not meant to parse text!

Bash (sh) is glue. awk can parse text. As can SNOBOL4 if you REALLY want to go crazy. Or sed. Math is done by expr, dc and bc.




'In a way, Nu is a way of saying “what if we didn’t need tools like awk so often?” Since you’re working with structured data, as we add more support for file types, it’s less often you need to reach for “awk”, “jq”, “grep”, and the array of other tools to open and work with common file types.'

From this interview: https://www.notamonadtutorial.com/nushell-the-shell-where-tr...




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

Search: