![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare 2 sorted files | varungupta | Shell Programming and Scripting | 7 | 01-25-2008 09:07 AM |
| sorted processes | pro | Shell Programming and Scripting | 7 | 05-19-2007 12:52 AM |
| Need to display sorted output on 1 line! | knc9233 | UNIX for Dummies Questions & Answers | 2 | 01-17-2007 06:26 PM |
| Trying to get list of logged on users sorted | kungfuice | Shell Programming and Scripting | 7 | 07-26-2006 11:35 AM |
| comm - sorted result issues | krsunderm | UNIX for Dummies Questions & Answers | 1 | 11-29-2005 03:36 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Inserting in sorted rows
Hello Friends,
I have a file with many many rows and I want to insert some numbers in between numbers. The number must be inserted in "correct sorted order". 1. Input = 1055555 0000001 1000000 1055555 <-insert here 3000000 4000000 5000000 8000000 2. Input = 4000080 0000001 1000000 3000000 4000000 4000080 <-insert here 5000000 8000000 Do you have other solutions aside from this? cat 1055555 >> Onerow.txt sort Onerow.txt Thank you my friend. |
| Forum Sponsor | ||
|
|