On Fri, Sep 24, 2010 at 1:08 AM, Linda Walsh wrote:
>
>
> Pierre Gaston wrote:
>>
>> I though I showed you how your suggestion only solves part of the problem
>> in only one particular situation and in an inconsistent manner while
>> introducing
>> other problems but oh well
>
> ---
> What
Sascha Ziemann wrote:
The following code prints "a". The second false terminates the script
but the first does not.
set -e
declare a="a"$(false)
echo $a
b="b"$(false)
echo $b
The first operation succeeds, the second doesn't.
The first operation
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/home/users/ziemann/share/locale'
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'
-
On Thu, Sep 23, 2010 at 04:38:42PM -0500, Michael Witten wrote:
> On Mon, Aug 23, 2010 at 16:40, Eric Blake wrote:
> > On 08/23/2010 03:29 PM, Peng Yu wrote:
> >>
> >> Hi,
> >>
> >> I'm wondering if there is a widely accepted coding style of bash scripts.
> >>
> >> lug.fh-swf.de/vim/vim-bash/Style
Pierre Gaston wrote:
I though I showed you how your suggestion only solves part of the problem
in only one particular situation and in an inconsistent manner while
introducing
other problems but oh well
---
What are you referring to? I thought I answered
your questions.
You questions
On Mon, Aug 23, 2010 at 16:40, Eric Blake wrote:
> On 08/23/2010 03:29 PM, Peng Yu wrote:
>>
>> Hi,
>>
>> I'm wondering if there is a widely accepted coding style of bash scripts.
>>
>> lug.fh-swf.de/vim/vim-bash/StyleGuideShell.en.pdf
>>
>> I've seen the following style. Which is one is more wide
On Sun, Aug 15, 2010 at 19:55, Mike Frysinger wrote:
> On Sun, Aug 15, 2010 at 8:47 PM, Peng Yu wrote:
>> cat file.txt | sqlite3 main.db <
> you only get 1 stdin ... either via the pipe or the heredoc. give
> everything you want to the first cat and worry about sqlite only
> consuming the pipe.
>
Le 23/09/2010 02:27, Dennis Williamson wrote:
> Not to mention the
> tradeoffs that have to be made, in code, in design, in personal time.
Speaking of time... the signal/noise ratio in this thread is so
unusually low that most subscribers could probably not afford any
better than skim over it (my