I wish bash would happily execute lines that begin with a semicolon,
i.e., treat it as a no-op followed by a command. The following
examples come to mind:
$ infloop& echo hello
[2] 11361
hello
$ infloop&; echo hello
bash: syntax error near unexpected token `;'
$ echo hello; echo world
hello
worl
Elliott Forney wrote:
I wish bash would happily execute lines that begin with a semicolon,
i.e., treat it as a no-op followed by a command. The following
examples come to mind:
$ infloop& echo hello
hello
$ infloop&; echo hello
bash: syntax error near unexpected token `;'
$ echo hello; ec
In modifying some released code on my distro,I ran into the
extensive use
of $[arith] as a means for returning arithmetic evaluations of the
expression.
I vaguely remember something like that from years ago, but never see any
reference to
it -- yet it works, and old code seems to r
On Saturday 07 April 2012 16:45:55 Linda Walsh wrote:
> Is it an accidental omission from the bash manpage?
it's in the man page. read the "Arithmetic Expansion" section.
-mike
signature.asc
Description: This is a digitally signed message part.
Mike Frysinger wrote:
On Saturday 07 April 2012 16:45:55 Linda Walsh wrote:
Is it an accidental omission from the bash manpage?
it's in the man page. read the "Arithmetic Expansion" section.
-mike
My 4.2 manpage says:
Arithmetic Expansion
Arithmetic expansion allows the
On Sun, Apr 8, 2012 at 12:50 AM, Linda Walsh wrote:
>
>
> Mike Frysinger wrote:
>
>> On Saturday 07 April 2012 16:45:55 Linda Walsh wrote:
>>>
>>> Is it an accidental omission from the bash manpage?
>>
>>
>> it's in the man page. read the "Arithmetic Expansion" section.
>> -mike
>
>
>
>
> My
On 4/7/12 4:45 PM, Linda Walsh wrote:
>
>
>
> In modifying some released code on my distro,I ran into the extensive use
> of $[arith] as a means for returning arithmetic evaluations of the
> expression.
>
> I vaguely remember something like that from years ago, but never see any
> refere