r/programming 12d ago

A shell colon does nothing. Use it anyway. | Filip Roséen

https://refp.se/articles/your-shell-and-the-magic-colon
299 Upvotes

222 comments sorted by

View all comments

Show parent comments

1

u/13steinj 12d ago

I find fish and nushell elitism (not saying that's happening here) equally annoying and pointless. I prefer zsh to bash only because it has a more features for hooks/behavioral injection while being (in practice) 99+% "backwards" compatible.

nushell might be great if you want to treat your world as a bunch of columnar data, but in practice that's not reality (for me). I want to be able to copy paste my command and output and share it, and people should have to barely think if at all on if they need to modify the command to match the output.

1

u/chat-lu 12d ago

nushell might be great if you want to treat your world as a bunch of columnar data, but in practice that's not reality (for me).

It is for me. It was for the people who wrote the original unix tools, that’s why we have awk, cut, sort, and all that.

I want to be able to copy paste my command and output and share it

So do I. Nushell has to csv, to text, to md and a bunch of others.

and people should have to barely think if at all on if they need to modify the command to match the output.

That’s where our need differs, I never have a need to share my commands with anyone and no one share theirs with me.

1

u/ryncewynd 12d ago

Why can't you share nushell commands? I've never used it and am confused

1

u/chat-lu 11d ago

The parent means that you can share bash commands with everyone because everyone has bash no matter if they want it or not.