[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-script indenting of &&, |
From: |
Stefan Monnier |
Subject: |
Re: shell-script indenting of &&, | |
Date: |
Wed, 27 Feb 2008 10:51:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> 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
- Re: shell-script indenting of &&, |, jidanni, 2008/02/26
- Re: shell-script indenting of &&, |, David Kastrup, 2008/02/27
- Re: shell-script indenting of &&, |, Andreas Röhler, 2008/02/27
- Re: shell-script indenting of &&, |,
Stefan Monnier <=
- Re: shell-script indenting of &&, |, jidanni, 2008/02/27
- Re: shell-script indenting of &&, |, Andreas Röhler, 2008/02/28
- Re: shell-script indenting of &&, |, Andreas Röhler, 2008/02/29
- Re: shell-script indenting of &&, |, Chong Yidong, 2008/02/29
- Re: shell-script indenting of &&, |, Chong Yidong, 2008/02/29