- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
OC by @[email protected]
I’ve been trying nushell and words fail me. It’s like it was made for actual humans to use! 🤯 🤯 🤯
It even repeats the column headers at the end of the table if the output takes more than your screen…
Trying to think of how to do the same thing with
awk
/grep
/sort
/whatever
is giving me a headache. Actually just thinking aboutawk
is giving me a headache. I think I might be allergic.I’m really curious, what’s your favorite shell? Have you tried other shells than your distro’s default one? Are you an awk wizard or do you run away very fast whenever it’s mentioned?
The commands are object-based instead of text based. The philosophy is built around chaining commands to filter data. I’m pretty sure the nushell command would be
ls ./ | where type == file
find
in nushell looks like it’s more for filtering the output of previous commands, not as a file search.https://www.nushell.sh/commands/docs/ls.html
https://www.nushell.sh/commands/docs/find.html
not my jam, but I appreciate that. I used to do ‘find ./ | grep -i string’ forever. I’ve come to prefer the more robust usage of ‘find’ these days, -type, -iname, etc.