case $1 in
-s) sec=1; shift;;
-m) sec=60; shift;;
-h) sec=3600; shift;;
-d) sec=86400; shift;;
*) sec=86400;;
esac
Thursday, January 22, 2009
case statement
Posted by techgeek168 at 8:42 AM
Labels: UnixBashVi
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment