Does this work as required?
$ perl -wle "print [EMAIL PROTECTED]" """<foo>"""
I expect that might work only with a very recent perl 5.8.1
candidate (e.g. [EMAIL PROTECTED] or later).
Peter Prymmer
Michael G
Schwern To: Alan Winston - SSRL Central
Computing
<[EMAIL PROTECTED] <[EMAIL PROTECTED]>
om> cc: [EMAIL PROTECTED]
03/29/2003 05:19 Subject: Re: Quoting < on the command
line.
AM
On Sat, Mar 29, 2003 at 01:37:33AM -0800, Alan Winston - SSRL Central
Computing wrote:
> It seems extremely likely to me that we're screwed in terms of
maintaining
> backwards compatibility (redirection has to keep working or lots of
existing
> scripts break) and keeping up this capability. The only thing I can
think of
> offhand is inventing more juju, specifically a kind of command-line
quoting
> that Perl can see in argv and knows just to strip but not to check for
> redirection. I suggest something like
>
> $ perl -wle "print [EMAIL PROTECTED]" ="<foo>"
>
> but it's still kinda messing with the input.
I think I'll just close my eyes and hack around it. :(
Thanks.
--
I was *meant* to mount your donuts.