[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#562497: texlive-font-utils: epstopdf --filter: Cannot open standard input

On Fr, 25 Dez 2009, Roland Rosenfeld wrote:
> I know, that this is recommended.  But maybe there is some kind of
> "magic" which supports stdin?  If --filter is used, $InputFilename is
> set to "-", maybe 
>  open(IN, '<-')
> works while
>  open(IN, '<', '-')
> is not supported?

$ cat bla.pl
use strict;
open(IN, '<', '-') || warn("Open '<', '-' did not work: $!");
open(IN, '<-') || die("Cannot open stdin: $!");
print "finished\n";
$ perl bla.pl
Open '<', '-' did not work: No such file or directory at bla.pl line 5.

Will be fixed in the next upload.

Best wishes

Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan            TU Wien, Austria           Debian TeX Task Force
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
Zaphod grinned two manic grins, sauntered over to the bar
and bought most of it.
                 --- Zaphod in paradise.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

Reply to: