Shell Scripting

by Unknown
Shell Scripting cover
Good Books rating 4.0
Buy online
Technical
  • ID: 5635
  • Added: 2025-10-24
  • Updated: 2025-10-24
  • Reviews: 2
Reviews
stackoverflow.com · Unknown · 2025-11-16
useful 4.00

The review highlights the lack of a comprehensive standard library in bash, the most popular Linux shell, and lists various libraries and frameworks that can make complex bash scripting easier. The author expresses hope that the list will be useful and plans to review these libraries in more depth in future posts.

The review discusses the absence of a full-featured standard library in bash, which is a significant drawback for those writing complex scripts. To address this, the author has compiled a list of various bash/shell-scripting libraries and collections that can simplify the scripting process. These libraries include frameworks, unit-test tools, logging frameworks, and more. The author hopes that this list will be beneficial to others and plans to delve deeper into these libraries in future posts, comparing them to equivalent functionality in Python. The goal is to enhance the shell scripting experience by leveraging standard UNIX tools.


Quick quotes

    One of the most powerful aspects of popular high-level languages is the existence of a comprehensive standard library. Unfortunately, the most popular Linux shell, bash, lacks a full-featured library bundled with it.

    It was a real pain to come up with this whole list, so hopefully it’s useful to some of you.

    My goal is not to have functionality re-implemented in shell script to replace basic tools like head/tail, but instead to discover or create (if necessary) a library using the full suite of standard UNIX tools to provide a fun and convenient experience for shell scripters.

dberkholz.com · Unknown · 2011-04-07
positive 4.00

The reviewer appreciates the utility of shell scripting but suggests that using more advanced tools like Bazaar can simplify tasks. They highlight the efficiency of Bazaar's commands over traditional shell scripting methods.

The reviewer starts by acknowledging the usefulness of a simple shell script for adding unknown files to an SVN repository. However, they argue that modern revision control systems like Bazaar can make this process even more straightforward. By using Bazaar's built-in commands, tasks that require multiple steps in shell scripting can be accomplished with a single, more intuitive command. This shift towards more advanced tools is seen as a significant improvement, making the process less cumbersome and more efficient. The reviewer's overall sentiment is positive, emphasizing the benefits of leveraging better tools to enhance productivity and simplicity in scripting tasks.


Quick quotes

    While [David Gibbons'](http://david.planetargon.us/) little shell snippet to [add unknown files to an SVN repository](http://david.planetargon.us/articles/2006/07/28/i-love-shell-scripting) is nice:

    You can do better if your revision control system can answer the questions you really need answered:

    bzr add $(bzr unknowns)