develooper Front page | perl.perl5.porters | Postings from May 2003

[perl #22336] shellwords.pl is not Shell compatible

From:
perlbug-followup
Date:
May 27, 2003 07:52
Subject:
[perl #22336] shellwords.pl is not Shell compatible
Message ID:
rt-22336-58269.7.02992562651119@rt.perl.org
# New Ticket Created by  (Daniel Pfeiffer) 
# Please include the string:  [perl #22336]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22336 >


Hi,

Perl still contains a Perl 4 library, that purports to emulate the way the Shell parses a command.  But it can't handle backquotes or variable interpolation.  And it gets backslash wrong.

Perl make <http://dapfy.bei.t-online.de/make.pl/> now contains a similar function shellparse, which corrects these bugs.  Welcome to use it as you please, if you give me the credit.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- GPL 3: take the wind out of Palladium's sails! --
 ------
  -- My other stuff here too, sawfish, make.pl...: --
   ------
    -- http://dapfy.bei.t-online.de/ --




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About