reopen 360790
clone 360790 -1
retitle -1 Preprocessor comments create empty lines
thanks

> From: Denis Barbier <[EMAIL PROTECTED]>
> Subject: Re: Bug#360790: eperl: Gobbles shebang line
> To: [EMAIL PROTECTED]
> Date: Tue, 4 Apr 2006 20:29:47 +0200

It would be nice if you Cc'ed this directly to the submitter, it's much
easier to read, and much friendlier, too.

> This is the documented behavior.  See examples in eperl(1):
>    [...]
>    you can write it now as an ePerl script:
>
>      #!/path/to/eperl
>      foo bar
>      baz quux
>      <: for ($i = 0; $i < 10; $i++) { print "foo #${i}\n"; } :>
>      foo bar
>      baz quux
>
> So you can add
>   #!/usr/bin/eperl
> at the beginning of your input file.

And where does it say: "If you add any other shebang line, it will be
removed, too"?   I read the manpage over and over, I read the parts
about eperl shebang lines with special care, but I nowhere found a hint
that other shebang lines are treated specially, too.

Please, if this is *really* the intended behavior, then it needs to be
documented *clearly*.  However, I think that the behavior should be
changed, and the shebang line only removed if it points to eperl.

Moreover, I noticed one more issue in the original bug report, namely
that preprocessor commands don't work as advertised, I'm cloning a
separate bug for clarity.

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)


Reply via email to