Every line of data ends with a carriage return and what looks like a space. I can remove the carriage returns, but how do I remove a space only at the end of the data? if I remove any spaces inside the data, the purpose is lost.Thanks.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
I Think you are facing a problem in moving files from windows to unix or linux system. if it is so then the problem is of carriage return. you can use different ways to transfer the files so that you can avoid this problem. like if you are moving files through any ftp software then use ASCII mode it will autmotically remove carriage returns. secondly there is a command too in linux to remove any text from the whole file but i forgot its syntax now.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
I Think you are facing a problem in moving files from windows to unix or linux system. if it is so then the problem is of carriage return. you can use different ways to transfer the files so that you can avoid this problem. like if you are moving files through any ftp software then use ASCII mode it will autmotically remove carriage returns. secondly there is a command too in linux to remove any text from the whole file but i forgot its syntax now.
Shirjeel