hi,, what i'm trying to do is if the number is less than 10 , I want to add a zero before it.. like, if it is 9 output should be 09.. and i'm using c-shell.. can you pls help me out ?
echo $string|sed -e 's/^[0-9]$/0&/' -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
Chapter11: why [{}] around VALUE ?? -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.