I needed to add the following (found here) to the top of my existing script:
if [ -z "$1" ] then echo $0: usage: $0 filename exit 1 fi
while [ ! -z "$1" ] do # do stuff to $1 shift done
exit 0
The genesis of this blog consists of the desire to track personal growth regarding: 1. Deployment of a linux digital audio workstation having the goal and mind-set of inexpensive expression whilst achieving computing and musical maturity. 2. General interests with an emphasis on linux, music, homebrewing, chemistry and some philosophizing. 3. Keeping a journal somewhere that I know I cannot lose it.
if [ -z "$1" ] then echo $0: usage: $0 filename exit 1 fi
while [ ! -z "$1" ] do # do stuff to $1 shift done
exit 0
No comments:
Post a Comment