I'm writing a shell script, which will take a list of files on the
command line, so u run the script like
<name of script> <list of files>
e.g <scriptname> <start.proc middle.bin finish.sh>
The list of files is not fixed, so I need to execute this for any number
of files given by the user
Step 1 Using either sed or gawk/awk , I need to separate these files by
white spaces
Step 2 Using either sed or gawk/awk Depending on the extension of the
file, I need to cd into the place where that directory is..
For Step 1, I thought a possible solution would be for a fixed size
only, but is no use in my case
gawk '{ printf "%s\t%s\t%s\t%s\t%s\t%s\n", $1, $2, $3, $4, $5, $6}'
Any ideas??
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]