![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing special characters in file | srivsn | Shell Programming and Scripting | 6 | 01-03-2008 06:10 AM |
| Diff output, unwanted characters | scanner248 | UNIX for Dummies Questions & Answers | 5 | 10-17-2007 05:23 PM |
| Replace Special characters in a file | solai | UNIX for Dummies Questions & Answers | 1 | 07-13-2006 11:36 AM |
| how to see special characters in a file using vi | jingi1234 | UNIX for Dummies Questions & Answers | 6 | 10-19-2005 12:57 PM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 12:29 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Diff creating special characters in output file
Hi
I am comparing 2 files (using diff command) with numerical data in them. In the output file I want only the differences which are in file2 but not in file1. Although I am getting the diffences i am also getting special characters in the output file which i do not want. Can somebody help me For reference i am giving my 2 input file and the output file I am getting Input file1.txt 101 102 103 104 105 106 Input file2.txt 104 108 106 After diff file1.txt file2.txt result.txt Output file Result.txt 1,3d0 < 101 < 102 < 103 6c2 < 105 ---- > 108 However in output I only want 101 102 103 105 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|