Changeset 2426 for LMDZ5/trunk/tools
- Timestamp:
- Jan 26, 2016, 6:32:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/tools/diffdef.sh
r2412 r2426 2 2 # Author: Lionel GUEZ 3 3 4 # This script compares files "*.def" other than " traceur.def" and4 # This script compares files "*.def" other than "*traceur.def" and 5 5 # "out.def" in two directories. 6 6 … … 44 44 rm -f all.def 45 45 echo "def files in $my_directory:" 46 ls !( traceur|out).def46 ls !(*traceur|out).def 47 47 48 48 # Concatenate and format the def files: 49 cat !(traceur|out).def | tr -d " " | grep -v -E '(^#|^!|INCLUDEDEF|^$)' \ 49 cat !(*traceur|out).def | tr '\r' '\n' | tr -d " " \ 50 | grep -v -E '(^#|^!|INCLUDEDEF|^$)' \ 50 51 | tr '[:lower:]' '[:upper:]' | sed 's/=[NF]$/=FALSE/' \ 51 52 | sed 's/=[YT]$/=TRUE/' | sort >all.def
Note: See TracChangeset
for help on using the changeset viewer.