unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Andreas R\x1fFFFFFFhler" <andreas.roehler@online.de>
Cc: jidanni@jidanni.org, emacs-devel@gnu.org
Subject: Re: shell-script indenting of &&, |
Date: Wed, 27 Feb 2008 10:51:27 -0500	[thread overview]
Message-ID: <jwvprui2ya5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200802270815.30901.andreas.roehler@online.de> ("Andreas R\x1fFFFFFFhler"'s message of "Wed, 27 Feb 2008 08:15:29 +0100")

>> RMS told me to send this here.
>> In shell-script mode, shouldn't lines 2, 3, and 4 be somewhat indented?
>> 1 who
>> 2 k=/cf && mountpoint -q $k/ && cd $k &&
>> 3 find *norblewitz -mtime -1 -type f ! -name \*~|
>> 4 cpio -vo|gzip > /var/tmp/cfBAK.`date +%u`.gz
>> 5 mailq

> Line 2 must not, as it's top level IMO.

> As `&&' may be considered as if-then form, I would
> welcome indentation for lines 3 and 4.

> Respective following ||

Agreed.  Patches welcome,


        Stefan




  reply	other threads:[~2008-02-27 15:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7016.1202258720.18990.bug-gnu-emacs@gnu.org>
2008-02-26 23:37 ` shell-script indenting of &&, | jidanni
2008-02-27  6:52   ` David Kastrup
2008-02-27  7:15   ` Andreas Röhler
2008-02-27 15:51     ` Stefan Monnier [this message]
2008-02-27 19:26       ` jidanni
2008-02-28 13:07         ` Andreas Röhler
2008-02-29  8:04           ` Andreas Röhler
2008-02-29 21:12             ` Chong Yidong
2008-02-29 21:15               ` Chong Yidong
2008-03-01  7:48                 ` David Kastrup
2008-03-01 13:27                 ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvprui2ya5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).