[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Odd Perl (rm?) behavior



On Mon, 2002-06-24 at 23:20, Hubert Chan wrote:
> >>>>> "Alex" == Alex Malinovich <demonbane@the-love-shack.net> writes:
> 
> [...]
> 
> Alex> However, if I expand the idea a bit and do:
> 
> Alex> rm -v `ls /mydir |spcgobble.pl`
> 
> It works if you use xargs instead.
> 
> # ls /mydir | spcgobble.pl | xargs rm -v

Using xargs works for me if I use the --quote option for the script. But
the default behavior still produces \\ instead of a single \. Though, as
I've said, just letting the script print to screen shows only a single
\. Any suggestions?

-Alex

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: