git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 23, 2006, 21:14 UTC
Message-ID
<20060223211403.GB5827@steel.home>
In-Reply-To
<86lkw1g647.fsf@blue.stonehenge.com>
Randal L. Schwartz, Thu, Feb 23, 2006 21:41:44 +0100:
Show 7 quoted lines
> Johannes> Now that our local Perl guru joined the discussion, may I ask what
> Johannes> is, and what is not quoted when put inside qx{}?
> 
> Nothing is quoted.  Your string acts as if it was XXX in:
> 
>         sh -c 'XXX'
> 

Not so for ActiveState. It'll just run the first non-whitespace word passing the rest of the line in its command-line. It's not even worse then to pass it all to cmd/command :)

Previous: Randal L. SchwartzNext: Randal L. Schwartz
Message 8 of 13 in “Convert open("-|") to qx{} calls”
  1. Convert open("-|") to qx{} callsJohannes Schindelin, Feb 23, 2006
  2. Alex RiesenFeb 23, 2006
  3. Randal L. SchwartzFeb 23, 2006
  4. Junio C HamanoFeb 23, 2006
  5. Randal L. SchwartzFeb 23, 2006
  6. Johannes SchindelinFeb 23, 2006
  7. Randal L. SchwartzFeb 23, 2006
  8. Alex RiesenFeb 23, 2006
  9. Randal L. SchwartzFeb 23, 2006
  10. Rogan DawesFeb 24, 2006
  11. Alex RiesenFeb 24, 2006
  12. Rogan DawesFeb 24, 2006
  13. Alex RiesenFeb 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.