Re: [PATCH] Convert open("-|") to qx{} calls

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-02-25 02:25:47
On 2/24/06, Rogan Dawes <discard@dawes.za.net> wrote:
> Interesting. I tried to do that one-liner at a DOS prompt (not cygwin,
> which I assume you are using), and I was unable to do so.

Yes, it was from cygwin's bash.

> Do you get the same results if you run it from a DOS prompt? and via a file?

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>perl -e 'print qx{echo joe & echo joe}'
Can't find string terminator "'" anywhere before EOF at -e line 1.
joe}'

C:\>perl -e "print qx{echo joe & echo joe}"
joe & echo joe

C:\>perl x.pl
joe & echo joe

C:\>
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Feb 25 02:26:22 2006

This archive was generated by hypermail 2.1.8 : 2006-02-25 02:26:34 EST