![]() |
|
|
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 |
| Ignore Duplicate Post | iago | UNIX for Dummies Questions & Answers | 0 | 09-04-2007 06:29 AM |
| removing duplicate lines from a file | ocelot | UNIX for Dummies Questions & Answers | 4 | 01-25-2007 11:02 AM |
| Ignore case sensitive in Case Switch | annelisa | Shell Programming and Scripting | 1 | 07-13-2006 05:36 AM |
| Ignore Case in Shell | AAH | Shell Programming and Scripting | 3 | 03-21-2006 04:41 PM |
| How can I ignore only the lines which have # at the begining? | csaha | Shell Programming and Scripting | 1 | 01-30-2006 03:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
Ok. sorry, here you go
Input file:
line 1: David, password: ab4TkN line 2: Kevin, password: kRq5 line 3: kevin, PASSWORD: kRq5 line 4: abcd line 5: efgh line 6: ABCD line 7: efgh Output file: line 1: David, password: ab4TkN Explaination: This i s a part of the unix process I wrote. When I get a file that contain duplicate lines: 1. I need to present in another file(or in the same file) only the uniq lines as they appear in the original Input file 2. The uniq -u doesn't ignore case - So this is the main problem, I guess. Thanks again and I hope my message is clear now. roy. |
|
||||
|
Last time I hope...
I call to your script runIt
I replace file1 with $1 Now I run it: runIt file1 Output: I get file2 with the correct lines, but they are all in lowercase. I look at the unix console and it prints the Original file1 content and then the correct result. How can I get the correct output in a new file. *I am running on solaris machine, tcsh. Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|