Changeset 6753ff7
- Timestamp:
- 04/09/2006 05:29:45 PM (18 years ago)
- Branches:
- experimental
- Children:
- eddf89f5
- Parents:
- 5bcccc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extras/do_ica_work
r5bcccc1 r6753ff7 1 1 #!/bin/bash 2 2 # $Id$ 3 4 # Acknowledgment: 5 # The following code is a modified version of an original work written by 6 # Greg Schafer for the "DIY Linux" project and is included here with his 7 # permission. 8 # ref: http://www.diy-linux.org 9 # 10 3 11 set -e 4 12 5 echo "This is a placeholder for now" 13 local RAWDIFF=/tmp/rawdiff.$$ 14 local REPORT="${3}/REPORT.${1}V${2}" 6 15 7 exit 16 cd $4 8 17 18 echo -e "Diffing ${1} and ${2}... " > $REPORT 19 diff -ur ${1} ${2} > $RAWDIFF || : 20 21 echo -e "The list of binary files that differ:\n" > $REPORT 22 grep "iles.*differ$" $RAWDIFF >> $REPORT 23 24 echo -e "The list of files that exist \"only in\" 1 of the directories:\n" >> $REPORT 25 26 if grep "^Only in" $RAWDIFF >/dev/null 2>&1; then 27 grep "^Only in" $RAWDIFF >> $REPORT 28 else 29 echo NONE >> $REPORT 30 fi 31 32 grep -v "iles.*differ$" $RAWDIFF | \ 33 grep -v "^Only in" > ${ICA_DIR}/${1}V${2}.ASCII.DIFF 34 35 rm -f $RAWDIFF
Note:
See TracChangeset
for help on using the changeset viewer.