Differences From Artifact [f07c5061fe]:
- Executable file mttroot/mtt/bin/trans/mtt_uncompress.sh — part of check-in [7bf6b22e52] at 2004-07-29 17:38:19 on branch origin/master — Uncompress _abg.dia if necessary before calling dia2abg.pl (user: geraint@users.sourceforge.net, size: 207) [annotate] [blame] [check-ins using] [more...]
To Artifact [164628bbec]:
- Executable file mtt/bin/trans/mtt_uncompress.sh — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 205) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/mtt_uncompress.sh — part of check-in [250ff46156] at 2005-02-17 18:36:38 on branch origin/master — Removed a bash-ism: replaced [[ conditional ]] with [ conditional ] (user: geraint@users.sourceforge.net, size: 205) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | #! /bin/sh file=$1 gzip --test --quiet $file 2> /dev/null ; file_is_uncompressed=$? | | | 1 2 3 4 5 6 7 8 9 10 11 12 | #! /bin/sh file=$1 gzip --test --quiet $file 2> /dev/null ; file_is_uncompressed=$? if [ $file_is_uncompressed -eq 0 ]; then gz=`mktemp $file.gz.tmpXXXXXX` mv $file $gz zcat $gz > $file fi |