Search Results

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

Thanks Scrutinizer :)
7,596
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,044
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,044
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 05:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy