![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| convert one colume file to a one line, wrapped file. | jouuu | UNIX for Advanced & Expert Users | 7 | 12-03-2008 06:07 AM |
| awk convert from line to column | jarmouda | Shell Programming and Scripting | 4 | 08-13-2008 08:31 AM |
| read a line from a csv file and convert a column to all caps | orahi001 | UNIX for Dummies Questions & Answers | 3 | 12-31-2007 06:05 PM |
| How to convert ^M appearing at end of line to unix newline? | videsh77 | UNIX for Dummies Questions & Answers | 21 | 09-01-2007 07:21 AM |
| Convert a paragraph to single line | rimss | Shell Programming and Scripting | 6 | 06-07-2006 03:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
convert new line to tab
hey i m newbie i dont know whether this is happining in my terminal or is there any reason behind this
here it is when i do 1.) sed -n 's/\t/\n/gp' space > enter #where space is tab seperated file it works fine it give me a outupt that all tab seperated convert into column but when i tried to reverse this it wount work 2.) sed -n 's/\n/\t/gp' enter > space it wouldnt give me any output i know there is an alternative for this 3.) cat enter | tr "\n" "\t" i only want to know is there any reason behind the 2 case thanx in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|