Good Book to learn Shell Scripting?
Suggestions welcomed.
Thanks.
iMac G5 (iSight) 20in 2.1Ghz 1.5 GB RAM 250 GB, Mac OS X (10.5.4), Soundsticks
Apple Event: May 7th at 7 am PT
iMac G5 (iSight) 20in 2.1Ghz 1.5 GB RAM 250 GB, Mac OS X (10.5.4), Soundsticks
find / -type f -print0 | xargs -0 file | grep -i bourne
#!/bin/sh
while read file
process $file
maybe a rename operation,
or copy, or differences, etc...
do
done <<EOD
...a list of files
...that I want to
...process, which
...may have been generated
...by 'ls' or 'find' or 'grep -l'
EOD
${variable#pattern}
${variable##pattern}
${variable%pattern}
${variable%%pattern}
LittleSaint wrote:
Python is nice, but perl is still "the" tool of choice.
Good Book to learn Shell Scripting?