The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
split one column into multiple columns
.
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
:
split one column into multiple columns
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
06-29-2009
zaneded
Registered User
Join Date: Jun 2009
Posts: 8
split one column into multiple columns
hey guys...
Im looking to do the following:
1
2
3
4
5
6
7
8
9
Change to:
1 4 7
2 5 8
3 6 9
Did use |
perl
-lpe'$\=$.%3?$":"\n"' , but it doesnt give me the matrix i want.
Any help please?
Thanx
zaneded
View Public Profile
Find all posts by zaneded
Find zaneded's past nominations received
Find zaneded's present nominations given