Computing.Net > Forums > Unix > print line

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

print line

Reply to Message Icon

Name: johan
Date: September 14, 2006 at 01:05:17 Pacific
OS: Solaris 9
CPU/Ram: 1
Comment:

How I print line:

this is only one line

as:

this
is
only
one
line



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: September 14, 2006 at 07:20:36 Pacific
Reply:

echo "this is only one line"|xargs -n1


0

Response Number 2
Name: johan
Date: September 14, 2006 at 22:49:52 Pacific
Reply:

Thanhs for nails.
This "xargs" was what I need.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: print line

grep - print next line too www.computing.net/answers/unix/grep-print-next-line-too/7417.html

print lines from file www.computing.net/answers/unix/print-lines-from-file/3867.html

Print previous line www.computing.net/answers/unix/print-previous-line/8260.html