![]() |
|
|
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 |
| diff between TAR+zip+FTP and TAR+FTP | swarup2008 | UNIX for Dummies Questions & Answers | 1 | 07-02-2008 04:51 AM |
| diff | tungaw2004 | UNIX for Dummies Questions & Answers | 3 | 04-25-2007 11:54 AM |
| Diff b/w $@ and $# | PradeepRed | Shell Programming and Scripting | 4 | 01-24-2006 04:02 AM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 12:29 PM |
| diff and ed? | Brototype | UNIX for Dummies Questions & Answers | 2 | 10-29-2001 02:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Question concerning DIFF
Hey,
I am running a linux shell script containing some php. I want to be able to do a DIFF on two files...if the files are identical, set an exit status of 0, and if they are different, set an exit status of 1. I have been looking long and hard on how to do this, but I don't think that I can with DIFF. Does anyone know of any alternatives? Or anyway I can achieve this? Here is how I am doing the DIFF: PHP Code:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|