[Top][All Lists]
[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
- 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 <=
- Re: shell-script indenting of &&, |, Stefan Monnier, 2008/02/27
- 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