The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 08:12 PM
How to transpose data elements in awk ahjiefreak Shell Programming and Scripting 2 05-13-2008 04:44 AM
How do I transpose a column of results to a row m223464 Shell Programming and Scripting 6 05-06-2008 07:33 AM
inconsistent ls command display at the command prompt & running as a cron job rajranibl SuSE 5 07-30-2007 08:26 AM
Row to column transpose videsh77 Shell Programming and Scripting 10 06-16-2007 12:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-15-2007
su_in99 su_in99 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 21
transpose command

I need to transpose data from one row to one column. If there is any idea to do it would be helpful.

example of input data
314.16177368164102, 314.71533203125, 315.208740234375

wantted output data
314.16177368164102
314.71533203125
315.208740234375

Thank you so much for any advance help.

su_in99
  #2 (permalink)  
Old 05-15-2007
Shell_Life's Avatar
Shell_Life Shell_Life is offline
Registered User
  
 

Join Date: Mar 2007
Location: Bahia, Brazil
Posts: 695
Try this:
Code:
tr ',' '\n' < input_file
  #3 (permalink)  
Old 05-16-2007
su_in99 su_in99 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 21
Shell Life,
Thanks a lot for your code
  #4 (permalink)  
Old 05-15-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
A simple search for the word "transpose" would yield a number of solutions.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0