![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell Programming and Scripting | nivas | Shell Programming and Scripting | 21 | 02-25-2008 06:27 AM |
| Shell Programming and Scripting | nivas | Shell Programming and Scripting | 2 | 02-20-2008 02:59 AM |
| Shell Programming and Scripting | nivas | Shell Programming and Scripting | 14 | 02-20-2008 02:07 AM |
| Shell Programming and Scripting | nivas | Shell Programming and Scripting | 3 | 02-13-2008 08:10 AM |
| Shell scripting & programming languages | aloysius1001 | UNIX Desktop for Dummies Questions & Answers | 1 | 02-19-2002 12:04 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Shell Programming and Scripting
Hi,
Iam having the files as follows: file1 aa aa aa aa ab ac ad ae file2 aa aa ab Outputfile: aa aa Actually i want to track the file1 and file2 for common records. output file should get the records that are in file1 and not in file2. Here 4 aa's are there in file1. and 2 aa's are in file2. i jus want to get " 2 aa's in file1 and 4 aa's in file2. so we need to track this aa." like this message should come in the o/p file. Can anybody help?? |
|
||||
|
Quote:
And if you need such a message in the o/p file, awk will help you. |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|