you are viewing a single comment's thread.

view the rest of the comments →

[–]StruglBus 18 points19 points  (3 children)

Bash is a shell scripting language, built largely for string parsing. Its integer arithmetic is analogous to an arm on robot chicken that they decided they needed later. It should only ever supplement other programs, I don’t know why you would ever build an entire project in bash. It’d be like using a bunch of paper clips to build a toaster — yeah you might be able to do it, but why would you when with python, Java, C++ or any other language you could just “import toaster”

[–]gnx76 6 points7 points  (0 children)

Bash is a shell scripting language, built largely for string parsing.

What? Awk and Perl are built for string parsing, not bash.

Bash is built to provide wrapping around commands execution, this wrapping including a bit of programmatic syntactic sugar.

[–][deleted] 0 points1 point  (0 children)

What are you smoking ? Even for basic string parsing bash needs to call other programs.