| ▲ | tkocmathla 9 hours ago | |||||||||||||||||||||||||||||||
I love this, from a comment on the article: | ||||||||||||||||||||||||||||||||
| ▲ | rgrau 8 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
A similar trick:
that's my `~/bin/noglob` file, so when I call a zsh script from bash that uses `noglob`, it doesn't blow up. | ||||||||||||||||||||||||||||||||
| ▲ | mzs an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Wow I hate* that. I use bracket comments. They're cool cause they are bracket comments, so I use it in scripts to document pipelines. They are annoying cause they are bracket comments, in an interactive shell I have to type more and in TWO places. It's fun to reason-out how it works ;)
It's nice to have a way to both /* ... */ and // ...
in shell scripts though:
* in the best possible way, like it's awful - I hate I didn't think of that | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | internet_points 8 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Yes! That one's going in my $PATH. Such a useful use of cat! | ||||||||||||||||||||||||||||||||
| ▲ | 000ooo000 8 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
What does it provide over mycmd1 #| mycmd2 | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||