I wrote:

> On 2004-11-16, Sven de Vries <[EMAIL PROTECTED]> wrote:
>
>> Hi there,
>>
>> seems like dvipdft is broken:
>>
>>> dvipdft --help
>> /usr/devries/local/packages/teTeX-2.99/bin//dvipdft: syntax error
>> at line 126: `end of file' unexpected
>>
>> l43 of that script looks odd. has anybody encountered this too?
>
> Yes, I got that too, on Compaq Tru64 Unix (OSF1) V5.1
>
> On 2004-11-16, Thomas Esser <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Nov 16, 2004 at 10:21:09AM +0100, Sven de Vries wrote:
>>
>> Works for me on SuSE Linux 9.1.
>>
>>> l43 of that script looks odd. has anybody encountered this too?
>>
>> Is the following better?
>> s="$s${s+ }'"`echo "x$1" | sed "[EMAIL PROTECTED]@@; s@'@'\\\\\''@g"`"'"
>
> With that line, I get:
>
> [EMAIL PROTECTED] > dvipdft a.dvi
> dvipdft: running dvipdfm  -e -z0 a.dvi
>
> Multiple dvi filenames?
>
>
> dvipdfm, version 0.13.2c, Copyright (C) 1998, 1999 by Mark A. Wicks
> dvipdfm comes with ABSOLUTELY NO WARRANTY.  This is free software,
> and you are welcome to redistribute it under certain conditions.
> Details are distributed with the software.
>
> Usage: dvipdfm [options] dvifile
>
> [...]

I just tried another thing, which, of course, occurred to me just
after sending the previous message:

I changed the first line of the dvipdft script to
#!/bin/bash

and then it worked with both the alternative s=... lines.

I don't know why, but perhaps you do.

Regards,
Svend Tollak Munkejord

Reply via email to