[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shell-script[bash] indention broken (or fixed?)
From: |
Steven T. Hatton |
Subject: |
Re: Shell-script[bash] indention broken (or fixed?) |
Date: |
Wed, 15 Jun 2005 16:37:39 -0400 |
User-agent: |
KMail/1.8 |
On Wednesday 15 June 2005 12:31, Stefan Monnier wrote:
> > #!/bin/bash
> > pushd /download/org/gnu/emacs/emacs &&\
> > cvs update -dPAC &&\
> > pushd /download/org/gnu/emacs/emacs-build &&\
> > make clean &&\
> > ../emacs/configure --prefix=$GNU_EMACS &&\
> > make -j8 &&\
> > pushd lisp &&\
> > make recompile EMACS=../src/emacs &&\
> > popd &&\
> > make install &&\
> > popd
>
> What if these things are within an if or while or case or ...:
>
> Do you do
>
> if foo then
> pushd toto &&\
> cvsupdate ...
> fi
>
> or do you do
>
> if foo then
> pushd toto &&\
> cvsupdate ...
> fi
>
>
> -- Stefan
Exactly my reason for equivocating. Though I will have to go with
if foo; then
pushd toto \
&& cvsupdate;
fi
as a point of style (corrected on my part.)
--
Regards,
Steven
- Re: Shell-script[bash] indention broken (or fixed?), (continued)
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/13
- Re: Shell-script[bash] indention broken (or fixed?), Stefan Monnier, 2005/06/13
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/14
- Re: Shell-script[bash] indention broken (or fixed?), Stefan Monnier, 2005/06/14
- Re: Shell-script[bash] indention broken (or fixed?), Steven T. Hatton, 2005/06/14
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/15
- Re: Shell-script[bash] indention broken (or fixed?), Stefan Monnier, 2005/06/15
- Re: Shell-script[bash] indention broken (or fixed?),
Steven T. Hatton <=
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/16