Y
Hacker News
new
|
ask
|
show
|
jobs
by
moebrowne
138 days ago
I believe that Bash scripts should be trivially short and simple. As soon as any complexity is introduced they should be written in another language.
2 comments
porise
137 days ago
Perl was written to write more complicated bash scripts. It's so seamless to call and handle shell commands and the first class regexes make it terse in a way that's appropriate for this use case.
link
general1465
138 days ago
I agree, the moment bash script needs "if" statement, you are using wrong language.
link
frou_dh
138 days ago
Is that so? Sounds like this commandment has a lot of authority, I'd better start following it.
link
cousinbryce
137 days ago
You’re free to program in language with only one data type all you want!
link
rascul
137 days ago
Tcl is great
link
shawn_w
137 days ago
Unironically, tcl
is
great as an upgrade from shell.
link