Re: for loop in a shell script help
- From: Peter F <peterf.nospam@xxxxxxxxxxxxxxx>
- Date: Thu, 02 Mar 2006 01:54:16 GMT
rac wrote:
Need help to create a shell script that will process any number of files<snip>
passed as arguments. The shell script will process the files and create
a new file in pr format. The new file name has the same name as the
original name with .pr added to the end of the name.
Example:
$ mypr wp abc doc
The above script mypr will create three new files; wp.pr,
abc.pr and doc.pr all in pr format.
rac
Google for bash tutorial. I think you will find your requirements used as examples.
Peter F
.
- Follow-Ups:
- Re: for loop in a shell script help
- From: houghi
- Re: for loop in a shell script help
- References:
- for loop in a shell script help
- From: rac
- for loop in a shell script help
- Prev by Date: Re: Kylix 3 (foundation) on SuSE 10.0
- Next by Date: Re: Mounting home to a different partition
- Previous by thread: for loop in a shell script help
- Next by thread: Re: for loop in a shell script help
- Index(es):
Relevant Pages
|