[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command parameters
From: |
rustom |
Subject: |
Re: shell-command parameters |
Date: |
Mon, 5 Jan 2009 23:33:16 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 6, 9:05 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Chetan <Chetan.xs...@xspam.sbcglobal.net>
> > Date: Mon, 05 Jan 2009 13:40:27 -0800
>
> > > On Windows, if you want 2 commands on a single line, use `&' instead
> > > of `;', as in
>
> > > echo 1 2 3 & echo 4 5
> > Or
> > echo 1 2 3 && echo 4 5 and get the same result everywhere
>
> The semantics of ;/& and && is not the same. With `echo', the
> difference hardly matters, but in general, the former will always run
> both commands, while the latter will sometimes only run the first one.
Thanks.
I guess mostly one needs cmd1 && cmd2. And the unix equivalent of
cmd1 ; cmd2 is cmd1 & cmd2.
But I still wonder what shell is running in windows emacs?
- shell-command parameters, rustom, 2009/01/05
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Peter Dyballa, 2009/01/05
- Re: shell-command parameters, Eli Zaretskii, 2009/01/05
- Message not available
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Eli Zaretskii, 2009/01/05
- Message not available
- Re: shell-command parameters,
rustom <=
- Re: shell-command parameters, Kevin Rodgers, 2009/01/06
- Message not available
- Re: shell-command parameters, rustom, 2009/01/06
- Re: shell-command parameters, Andreas Politz, 2009/01/06
- Re: shell-command parameters, Eli Zaretskii, 2009/01/06
- Re: shell-command parameters, Barry Margolin, 2009/01/08