The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
convert rows into column
.
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
:
convert rows into column
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
01-11-2008
shamrock
Registered User
Join Date: Oct 2007
Location: USA
Posts: 753
Quote:
Originally Posted by
cdfd123
if u have a data
2 4 6 8 5 4 4 5 6
then result shud be like
2
4
6
7
5
4
4
5
6
Code:
echo 2 4 6 8 5 4 4 5 6 | tr ' ' '\n'
shamrock
View Public Profile
Find all posts by shamrock
Find shamrock's past nominations received
Find shamrock's present nominations given