Search Results

Search: Posts Made By: isubodh
1,518
Posted By isubodh
cat filename | awk -F ":" '{print $1":"$2,...
cat filename | awk -F ":" '{print $1":"$2, substr($3,3)}' >>new.file
1,518
Posted By isubodh
cat filename | awk -F ":" '{print $1":"$2 ",...
cat filename | awk -F ":" '{print $1":"$2 ", substr($3,3)}' >>new.file
will give the required result
1,518
Posted By isubodh
In awk set the FS to ":" and then substitute the...
In awk set the FS to ":" and then substitute the $3 field.
1,518
Posted By isubodh
sed 's/:00//g' <filename> should help
sed 's/:00//g' <filename>
should help
Showing results 1 to 4 of 4

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