The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to remove "New line characters" and "spaces" at a time
.
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 "New line characters" and "spaces" at a time
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-08-2008
agn
Registered User
Join Date: Feb 2008
Posts: 172
Code:
$ cat file | tr -d '[ \n]'
agn
View Public Profile
Find all posts by agn
Find agn's past nominations received
Find agn's present nominations given