Posted by: Anonymous Coward
on June 28, 2005 12:09 PM
You could tidy the script a little with: case "$kapturecount" in 95) archive<nobr> <wbr></nobr>;; 96) cleanup; kapturecount=0 esac
And the line which goes: $kapturecount=0 # reset the loop count and start again. Should really be (surely?): kapturecount=0 # reset the loop count and start again.
This has been a great series. All kudos to Brian Warshawsky for a great series of articles to help budding sysadmins and adding some food for thought to grey-beards as well.
Parameter testing
Posted by: Anonymous Coward on June 28, 2005 12:09 PMcase "$kapturecount" in
95) archive<nobr> <wbr></nobr>;;
96) cleanup; kapturecount=0
esac
And the line which goes:
$kapturecount=0 # reset the loop count and start again.
Should really be (surely?):
kapturecount=0 # reset the loop count and start again.
This has been a great series. All kudos to Brian Warshawsky for a great series of articles to help budding sysadmins and adding some food for thought to grey-beards as well.
#