summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornikai <nikai>2002-06-24 13:25:37 +0000
committernikai <nikai>2002-06-24 13:25:37 +0000
commitad6d44f2a736cc5d849dd11a084e169f6b95d6d1 (patch)
tree0deac8c8462fa7b46239cb76a9b3c4bd687ce63d /tools
parent218a31316f1e7b059e927c0bd2670d42cf093043 (diff)
downloadsylpheeddoc-doc-ad6d44f2a736cc5d849dd11a084e169f6b95d6d1.zip
sylpheeddoc-doc-ad6d44f2a736cc5d849dd11a084e169f6b95d6d1.tar.gz
sylpheeddoc-doc-ad6d44f2a736cc5d849dd11a084e169f6b95d6d1.tar.xz
shortened a regexp
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pnght2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pnght b/tools/pnght
index 55e1450..96f790f 100755
--- a/tools/pnght
+++ b/tools/pnght
@@ -36,7 +36,7 @@ rm $doc/manual/HTML/par*.tmp
cd $doc/manual/$lang/snapshots/
for x in *.png
do
- echo $x $(($(hexdump -o -s 22 -n 1 $x | sed -e 's/[0-9][0-9][0-9][0-9][0-9][0-9][0-9]//g') * 256 + $(hexdump -o -s 23 -n 1 $x | sed -e 's/[0-9][0-9][0-9][0-9][0-9][0-9][0-9]//g'))) >> $doc/manual/HTML/par1.tmp
+ echo $x $(($(hexdump -o -s 22 -n 1 $x | sed -e 's/[0-9]\{7\}//g') * 256 + $(hexdump -o -s 23 -n 1 $x | sed -e 's/[0-9]\{7\}//g'))) >> $doc/manual/HTML/par1.tmp
done
sed -e 's/[.]png//g' $doc/manual/HTML/par1.tmp >> $doc/manual/HTML/par.tmp
cd $doc/manual/HTML/$lang/