![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing trailing spaces from delimited files | djkane | Shell Programming and Scripting | 6 | 03-29-2006 03:11 AM |
| Removing page space | srnkumar | AIX | 4 | 01-05-2006 01:04 AM |
| Removing leading and trailing spaces of data between the tags in xml. | jhmr7 | UNIX for Dummies Questions & Answers | 2 | 05-18-2005 07:27 AM |
| Removing Space at the end of file | rkumar28 | Shell Programming and Scripting | 4 | 03-03-2005 05:42 AM |
| removing trailing spaces of a particular column in a file | rooh | UNIX for Dummies Questions & Answers | 2 | 01-12-2002 07:34 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
re: removing trailing space from lines
Quote:
|
| Forum Sponsor | ||
|
|
|
|||
|
Thank You! oombera, for answering the query.
I really appreciate your effort to answer, even the closed thread. I was going through the various threads after posting my query. there was one thread 'Remove Last Character of Line'. this was pretty similar query. I got the answer for my query from this thread. And that is why i closed the thread. I just tried this syntax but it doesn't work. I am working on solaris 5.8. And I am not sure whether this syntax works on other platform. may be this is the case, that, it work on some other platform. I used this syntax. --------------------------------------------- sed 's/ *$//g' < file_tailing_spaces --------------------------------------------- Notice that it has two spaces preceeding '*$' Actually, I have file which has more than one trailing spaces. It worked. Thank You! Once Again. Sameer. |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|