![]() |
|
|
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 |
| compare 2 files.. | amon | Shell Programming and Scripting | 8 | 06-23-2008 11:34 AM |
| compare two files | charandevu | Shell Programming and Scripting | 7 | 03-30-2008 04:20 PM |
| Compare files | kharen11 | UNIX for Advanced & Expert Users | 25 | 03-14-2007 05:35 AM |
| compare files and beyond | MizzGail | UNIX for Dummies Questions & Answers | 2 | 04-25-2003 02:34 PM |
| compare files | ingunix | UNIX for Dummies Questions & Answers | 3 | 05-24-2001 12:44 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi to all,
I'm writing this time looking for some suggestions. I need to elaborate a script that asks the user to enter two parameters, compare this parameters and if the conditions are true then execute another script. The problem is that i need to test the parameters (numbers in this case) with two text files that contain a list of numbers (1 per row). The idea is something like this: read parameter#1 read parameter#2 Does parameter#1 exists in file1? and Does parameter#2 exists in file2? If yes then execute the other script. If no show a message that tells the user which parameter were not found if the files. Thank's in advance |
| Bookmarks |
| Tags |
| perl, perl regex, perl shift, regex, shift, shift perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|