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 -->
#
5
(
permalink
)
09-08-2008
cfajohnson
Shell programmer, author
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,362
Code:
awk '{printf "%s", $2}' FILE
cfajohnson
View Public Profile
Visit cfajohnson's homepage!
Find all posts by cfajohnson
Find cfajohnson's past nominations received
Find cfajohnson's present nominations given