Search Results

Search: Posts Made By: bigsanch
4,186
Posted By bigsanch
If the string is allways the same structure, then...
If the string is allways the same structure, then you can do something like this:


string1='a.sh start time is Fri Jan 9 17:17:33 CST 2015';
string1=${string1%* CST 2015}
string1=${string1##*...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy