Biggest shell programs

Viewed 257
The discussion centers around the challenges and intricacies involved in writing and maintaining large shell scripts, as exemplified through various user experiences. Key points include: 1. **Historical Context**: Users recall their experiences with legacy systems (e.g., Sony's order management system), where complex shell scripts caused significant maintenance issues due to their size and tangled logic. 2. **Comparison of Languages**: There's a consensus that while shell scripting (e.g., bash) is suitable for small tasks, it struggles with larger programs. Users favor languages like Perl and AWK for significant automation tasks due to their robustness and readability. 3. **Maintenance Challenges**: Large shell scripts often become cryptic, making them hard to read and maintain. Lack of testing tools and limitations in language features contribute to this challenge. 4. **Examples of Large Shell Programs**: Contributions include notable scripts like `abcde` and the `FreeBSD Update client`, with substantial lines of code demonstrating their complexity and utility. 5. **Portability Versus Maintainability**: Shell scripts can be portable, but that comes at the cost of maintainability, especially in larger applications.
0 Answers