emacs-devel
[Top][All Lists]
Advanced

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

Re: shell-script indenting of &&, |


From: Andreas Röhler
Subject: Re: shell-script indenting of &&, |
Date: Wed, 27 Feb 2008 08:15:29 +0100
User-agent: KMail/1.9.5

Am Mittwoch, 27. Februar 2008 00:37 schrieb address@hidden:
> 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 ||

Thanks

Andreas Röhler




reply via email to

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