Home

ksh script template

2009/08/05

Dave Taylor (author of elm) asked:

need to write my Linux Journal shell script programming column and am sitting here without a topic/script in mind. Suggestions?

My suggestion was to write about scriptt.sh which I first encountered in this BigAdmin article:

Writing a script template with the most frequently used functions one time and reusing it for your scripts makes life easier. Doing this as shell script instead of, for example, perl, ensures that you can just copy the script to a new machine and have it work.

Advertisements

2 Responses to “ksh script template”


  1. …pitty that his reply was “huh? what does that script do ?

    and as a sidenote, anybody knows an equivelant (ba)sh script template?

    • adamo Says:

      I replied back citing the BigAdmin link :)

      This post had been sitting in the drafts for ~2 years (== write something about scriptt.sh). I was planning to test scriptt.sh with OpenBSD’s pdksh. Have not done so yet. I do not think it will be that hard for the script to work with bash.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: