diff options
author | holger <devnull@localhost> | 2002-10-10 16:22:27 -0300 |
---|---|---|
committer | holger <devnull@localhost> | 2002-10-10 16:22:27 -0300 |
commit | 5a523e605b9b6d1ae50d0707c1874c5b7f0959cc (patch) | |
tree | 4dfe1bf1f9ae2f2eefb5d34a42cc4ba029817091 /dvb-spec/dvbapi/getbb | |
parent | ab85b007da42f42856a775d8cff97332093f5b34 (diff) | |
download | mediapointer-dvb-s2-5a523e605b9b6d1ae50d0707c1874c5b7f0959cc.tar.gz mediapointer-dvb-s2-5a523e605b9b6d1ae50d0707c1874c5b7f0959cc.tar.bz2 |
the new HEAD
Diffstat (limited to 'dvb-spec/dvbapi/getbb')
-rwxr-xr-x | dvb-spec/dvbapi/getbb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dvb-spec/dvbapi/getbb b/dvb-spec/dvbapi/getbb new file mode 100755 index 000000000..004714d3a --- /dev/null +++ b/dvb-spec/dvbapi/getbb @@ -0,0 +1,12 @@ +#!/bin/sh +f=`grep BoundingBox $2 | cut -d' ' -f2,3,4,5` +g=`\ +echo $2" llx=";(echo $f|cut -d' ' -f1 );\ +echo " lly=";(echo $f|cut -d' ' -f2 );\ +echo " urx=";(echo $f|cut -d' ' -f3 );\ +echo " ury=";(echo $f|cut -d' ' -f4 );\ +echo " rwi=";(echo $f|cut -d' ' -f3 );\ +echo "0" +` +h=`echo $g| sed "s/= /=/g" | sed "s/ 0/0/g"` +cat $1 | sed "s/psfile=$2/psfile=$h/" |