Hi All
is there a way to delete last n characters from a word
like say i have employee_new
i want to delete _new. and just get only employee
I want this in AIX Shell scripting
Thanks
Hi All
is there a way to delete last n characters from a word
like say i have employee_new
i want to delete _new. and just get only employee
I want this in AIX Shell scripting
Thanks
echo employee_new | awk -F_ '{print $1}'
$str=employee_new
$ print ${str%_new}
employee
$
Thanks a lot...