Re:Bringing the best of Bash scripting to Ruby
by digitalsushi on Monday July 13, 2015 @03:19PM
(#9880382)
The best thing about bash, and by bash I mean sh if we're going to argue and I mean bash if we're not going to argue, is that it's already on every system and you can just plan on being able to use it with no further work. Pipelining is definitely awesome, but you can make furniture out of gluesticks using enough bash (and all those two letter commands that aren't bash but always infect the system along side it)
[ Parent
| on HN ]
Re:Bringing the best of Bash scripting to Ruby
by falcolas on Monday July 13, 2015 @03:27PM
(#9880434)
OK. I'll buy that. I don't necessarily agree, however. It's so trivial to get small programs onto a remote machine that relying on `sh` only because it's there seems like a premature optimization.
Re:Bringing the best of Bash scripting to Ruby
by bmir-alum-007 on Monday July 13, 2015 @05:20PM
(#9881191)
It's a tradeoff. There's also nothing stopping folks from rewriting init and rc scripts as Ruby code or (re)writing systemd in Go, Ruby, etc.