Search Results

Search: Posts Made By: kunal37
3,050
Posted By kunal37
--- @kunal37 sed 's/.\{1\}$//' is the same...
---
@kunal37
sed 's/.\{1\}$//'
is the same as
sed 's/.$//'[/QUOTE]

Thanks Scrutinizer :)
7,601
Posted By kunal37
I don't think there is issue with your script,...
I don't think there is issue with your script, Please make sure you don't have space (white space) after EOF
3,050
Posted By kunal37
Thanks for correcting me, Yes we can do that with...
Thanks for correcting me, Yes we can do that with awk only

Kunal
3,050
Posted By kunal37
You cat also try this: cat input_file | awk...
You cat also try this:
cat input_file | awk '{print $NF,$2,$3,$4,$5,$6}' | tr -d "<>" | sed 's/.\{1\}$//'
Showing results 1 to 4 of 4

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