Robin Turner wrote:
> >What is wrong with this?
> >
> >     #!/bin/sh
> >     TMPF1=`mktemp /tmp/psbooklet1XXXXXX`
> >     TMPF2=`mktemp /tmp/psbooklet2XXXXXX`
> >     psbook $1 $TMPF1
> >     psnup -2 $TMPF1 $TMPF2
> >     [ $? == 0 ] && { mv $TMPF2 $1 ; rm $TMPF1 }
> >
> >Matej
> >
> Got this message:
> 
> *] [1] [*] [*] Wrote 4 pages, 26691 bytes
> [1] [2] Wrote 2 pages, 29669 bytes
> /home/nalan/Documents/psbooklet: line 7: syntax error: unexpected end of 
> file
> 
> Running the commands manually is fine for psbook, but psnup for some 
> reason won't put two virtual pages on one physical page.

Sorry it should be 
        psnup -2up $TMPF1 $TMPF2

        Matej

-- 
Matej Cepl, [EMAIL PROTECTED],
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A woman without a man is like a fish without a bicycle.
Therefore, a man without a woman is like a bicycle without
a fish.

Reply via email to