Hi,
I have a variable with contain "fl080114". I want only "080114" into an another variable.
input:
name="fl080114"
output:
nm="080114"
Please help.
Thanks in advance.
Hi,
I have a variable with contain "fl080114". I want only "080114" into an another variable.
input:
name="fl080114"
output:
nm="080114"
Please help.
Thanks in advance.
echo "fl080114" |cut -c 2-
nm=${name#??}