Hi, --- On Sun, Jan 10, 2010 at 9:07 PM, Vishnu Raj <[email protected]> wrote: | device=$1 | | blocksize=`isoinfo -d -i $device | grep "^Logical block size is:" | | cut -d " " -f 5` \--
If you don't pass any argument, the script must atleast display the usage of the script and exit cleanly. Also do check if 'isoinfo' is available on the system where the script is to be executed, else, inform the user about it. SK -- Shakthi Kannan http://www.shakthimaan.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
