Have a string as xxxxxxx.txt
Need to get the only xxxxxxx string without extension.
How to get this using korn shell?
Have a string as xxxxxxx.txt
Need to get the only xxxxxxx string without extension.
How to get this using korn shell?
STRING=xxxxxxxxxx.txt
echo $STRING | rev | cut -f 2- -d "." | rev