Differences between revisions 1 and 2
Revision 1 as of 2009-02-09 18:03:31
Size: 596
Editor: GreyCat
Comment: bash weaknesses
Revision 2 as of 2009-02-09 19:54:14
Size: 690
Editor: localhost
Comment: Added XML parsing.... As master commanded.
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:

 * XML and HTML (or alike) parsing. You'd need external tools for that, at best, use Perl.

This is a stub. Please fill in the missing pieces.

There are certain things BASH is not very good at. There are certain tasks you shouldn't do in bash, unless you really, truly have to. It's often better to switch to a different language for most of these tasks.

  • Floating point math. Bash has only integer math. Use bc(1) or AWK instead.

  • Associative arrays (coming in bash 4.0). Use AWK or perl or Tcl instead.
  • Fancy ProcessManagement. Bash has nothing analogous to select(2) or poll(2). Use C instead.

  • XML and HTML (or alike) parsing. You'd need external tools for that, at best, use Perl.

BashWeaknesses (last edited 2022-09-01 18:14:07 by 188)