nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] I'm confused


From: Ralph Corderoy
Subject: Re: [Nmh-workers] I'm confused
Date: Fri, 14 Sep 2012 15:02:37 +0100

Hi,

David Levine wrote:
> Let's assume the user's shell is bash.  whatnow does this:
> 
>   bash -c "ls <args>;"

My binary may be old but

    $ strings `which whatnow` | grep SHELL
    $SHELL -c " cd %s;ls
    $SHELL -c "cd;pwd"
    $SHELL -c "cd %s;cd %s;pwd"
    $SHELL -c "ls %s"
    $SHELL -c " cd %s;ls %s"
    $ 

I think those `;' should be `&&'.

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]