Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

RebeccaBlackOS - First Live CD Running Wayland Display Server

The Linux powered LAN Gaming House

5 Best Android Apps For Reddit Lovers

SECURITY: Flash Player Sandbox Comes to Firefox

The Future of Kubuntu

SECURITY: Symantec should not be afraid of 'open' source code

Linux 3.3 rc3

60 Fantastic Free Android Apps

Ready for Another Linux Tablet? Meet the Rugged Trimble Yuma

How can the layman get involved with free software?



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Speaking UNIX: More Shell Scripting Techniques
Speaking UNIX: More Shell Scripting Techniques
Sep 12, 2008, 07 :32 UTC (0 Talkback[s]) (5012 reads)

(Other stories by Adam Cormany)

[ Thanks to BlueVoodoo for this link. ]

"One issue people run into when learning how to shell script well is duplicating work they've already done in a script. Rather than copying their work and changing a couple of hard-coded values, they could simply create a function to handle the work for both areas of the script. Creating centralized functions also standardizes and provides for a uniform script. If a function works in one area of the script, it's a safe bet it will work elsewhere in the script, as well."

Complete Story

Related Stories:
The LXF Guide: 10 Tips for Lazy Sysadmins(Sep 11, 2008)
Learning the Craft of Programming(Sep 09, 2008)
Two Repositories of Linux and Unix Commands and Example Dot Files(Sep 06, 2008)
Lists vs. Strings: Perl List Permutations For Linux Or Unix(Sep 03, 2008)
Scripting Best Practices(Sep 02, 2008)
Mac OS X Shell Scripting Tips For Young And Old(Aug 30, 2008)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP