![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merging lines using AWK | senthil_is | Shell Programming and Scripting | 6 | 03-05-2008 08:40 AM |
| Merging lines - Tuning the script | senthil_is | Shell Programming and Scripting | 3 | 03-04-2008 11:24 PM |
| Merging files with AWK filtering and counting lines | Meert | Shell Programming and Scripting | 2 | 01-28-2008 07:58 AM |
| merging two lines in a file | thaduka | UNIX for Dummies Questions & Answers | 6 | 07-11-2007 06:27 AM |
| How to count lines - ignoring blank lines and commented lines | kthatch | UNIX for Dummies Questions & Answers | 6 | 05-24-2007 10:21 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hello. I would be very pleased if sb. help me to solve my problem. I've got a file with many non blank lines and I want to merge all lines into one not destroy the informations on them. I've tryed it with split and paste, tr, sed , but everything I've done has been wrong. I know about crazy solution but I don't want to do it this way. Don't forget the simplier way is the better. Thaks
![]() Last edited by Foxgard : 06-18-2005 at 03:46 PM. |
| Forum Sponsor | ||
|
|
|
|||
|
Misunderstanding
You don't understand me.
I've filled up my problem with red-coloured text to U understand me. Your solution only deletes all the newlines "\n". And that I didn't want to do with the file. e.g. from A B C into ABC ![]() |
|
|||
|
I see how you want it to work, but it doesn't work. When I send the command to bash, it deletes all the lines from input. I've had some problems with intepretation of the commands even if the command was standard before. I use the xandros 3.01,GNU bash version 2.05b.0(1)-release (i386-pc-linux-gnu). May the problem be in my OS?
|
|||
| Google UNIX.COM |