Search Results

Search: Posts Made By: Jimmy7
3,066
Posted By Jimmy7
When I created a .txt file whit words and spaces...
When I created a .txt file whit words and spaces and then used cat /root/input.txt | sed 's/ *$//g' > output.txt it removed all spaces at the end of each line
but when I apply this to my file its...
3,066
Posted By Jimmy7
Thank you for your response, but it just didnt...
Thank you for your response, but it just didnt work for me again. the spaces are still at the end of each line.
3,066
Posted By Jimmy7
remove spaces
Hi folks,
I need to remove spaces at the end of each line in a *.txt file. it looks like this

word 1[space]
word 2[space]
.
.
.
word n[space]

i found some sed commands but any of them...
Showing results 1 to 3 of 3

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