Quote:
Originally Posted by Franklin52
Try this:
Code:
echo $clock | sed 's!.*"\(.*\)/.*!\1!'
Regards
|
thanks, but I was really just wondering if I could do this all with bash.
Quote:
Originally Posted by colemar
Code:
colemar@deb:~$ echo ${clock:10:2}
US
|
I know that, but the problem lies that US is not alway US thus it can be more then 2 characters long...
