Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
14
.bin/OLD/diff-from-orig.sh
Executable file
14
.bin/OLD/diff-from-orig.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
find . -name "*.orig" | while read ORIG
|
||||
do
|
||||
FILE="${ORIG%*.orig}"
|
||||
|
||||
SIZE=$(stat $ORIG | awk '{print $8}')
|
||||
if [ $SIZE -eq 0 ]
|
||||
then
|
||||
echo "full file: $FILE"
|
||||
continue
|
||||
fi
|
||||
diff -u $ORIG $FILE
|
||||
done
|
||||
Reference in New Issue
Block a user