Randal; Thanks for answer I really needed to hear.
Ken On Fri, 2004-08-13 at 18:36, Randal L. Schwartz wrote: > >>>>> "Luke" == Luke Bakken <[EMAIL PROTECTED]> writes: > > Luke> The simple solution is to be sure that single quotes are around the > Luke> strings passed to the "describe" command: > > >> my $results = `$ct describe '$line' | $grep $label`; > > And of course fails if you have filenaems that have single quotes. > > The *proper* solution is to not involve a shell. See multi-arg > pipe-open and multi-arg exec. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- Kenneth A. Wolcott Consultant, Acquisition Systems - Clinical Systems Engineering GE Healthcare Information Technologies 8200 West Tower Avenue, Milwaukee, WI 53223 TWR-2-00-195 (pillar F-3) Phone: 414/362-2720 Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>