![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum 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 |
| clip selective text and minus | srini123 | Shell Programming and Scripting | 1 | 02-28-2008 03:10 AM |
| How to make a tool as 30-days evalution copy | uday123 | Linux | 0 | 04-04-2006 10:10 PM |
| Tool for make file | sarwan | High Level Programming | 4 | 11-14-2005 05:09 AM |
| big brother monitoring tool - make failed | touny | AIX | 0 | 08-25-2005 08:57 PM |
| Merge Graphics with text file | schaganti | Windows & DOS: Issues & Discussions | 6 | 11-08-2004 06:41 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Is there any non graphical tool that make selective merge between text files?
whitout using awk / sad and so on?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
join will operate on lines in a set of files and create a resultset, made of lines from separate files. Is that what you mean?
|
|
#3
|
||||
|
||||
|
Quote:
cat file2.txt | grep "other_selection" >> new_file.txt Of course, you can use awk instead of grep and awk or sed to change the content of the files. Or, if you don't want to make any change/selection, cat file1.txt file2.txt >> new_file.txt |
|
#4
|
|||
|
|||
|
vimdiff.
Two files will be displayed side by side with highlighting of the differences. And you can 'do' and 'dp' to copy the diffs to and from the buffers, so this is selective. The best way to do this I guess. |
|||
| Google The UNIX and Linux Forums |