Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
This is a meta-answer for shell coding.
1) Write however you want, then run your code through a semantic and syntax checker:
As you progress, you can skip this as the first step, and go right to testing, coming back if your code fails.
then through a beautifier (which could easily apply to all languages):
2) Shell (as a programming language for more than trivial scripting) is dead. Perl rules in its place (though it is now being strongly challenged by Python). -- Basic Linux and Unix bibliography , especailly parts:
Shell programming is only for small Problems, for further things I would also take Python... but sometimes it is more comfortable to do some things with the os-shell than to write a Python-Script - sometimes I Need it in an Environment where a lot of People only have know-how it Shell Scripting. Therfor its not possible to take another language...
And my question Targets to the Point, if there is - for UNIX-Shell-Scripting - something like the PEPs in Python?
Hello to all,
Here is my situation. Some time in the mid-80's I stumbled across a small white programming book - can't remember the name but it was unique in that it started right out giving instructions on creating building blocks in code as a foundation for a complete system. The book was... (2 Replies)
Hi,
I was wondering if any of you guys have developed shell scripting guidelines for writing unix shell scripts effectively. This includes naming standards, comments, indentation, error handing after unix comands, use of exported variables, sending notifications, functions, logging etc...
... (2 Replies)
This area is not for forum specific technical questions. Please post forum specific technical questions in the best forum, not in the lounge. However, if your idea or question is not covered clearly in a forum, please post it here.
Discuss whatever is on your mind. Technical topics welcome... (0 Replies)
Discussion started by: Neo
0 Replies
4. Forum Support Area for Unregistered Users & Account Problems
This area is not for technical questions. It is reserved for unregistered users who have a question or registered users who have trouble with their account.
Other posts will be deleted by the moderators. (0 Replies)