The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How to remove trailing spaces
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to remove trailing spaces
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
08-10-2007
quintet
Registered User
Join Date: Jun 2006
Posts: 94
you can try these as well
leading spaces :
tail -1 file1|
sed
-e "s/^ *//"
trailing spaces :
tail -1 file1|
sed
-e "s/ *$//"
quintet
View Public Profile
Find all posts by quintet
Find quintet's past nominations received
Find quintet's present nominations given