[m-dev.] for review: get cvs to check log messages

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 10 16:47:10 AEDT 2000


On 10-Nov-2000, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 09-Nov-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > +if grep '<overview or general description of changes>' $1 ||
> > +   grep '<directory>/<file>:' $1 ||
> > +   grep '<detailed description of changes>' $1
> > +then
> 
> Don't you have to put a slash before the line continuations?

No.  If the line ends in "||" or "&&" then you don't need line
continuations.

I don't have a copy of the POSIX sh spec, unfortunately, but I'm
pretty sure that it allows this -- every sh that I've used does.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list