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='/u
On Thursday 13 Jan 2011 21:11:07 Joe Lightning wrote:
> Description:
> Bash doesn't like leading zeros in arithmetic expansion.
>
> Repeat-By:
> echo $(( 09 - 1 ))
It's all documented. Numbers with leading zeros are treated as octal. In your
case,
Joe Lightning wrote:
> Description:
> Bash doesn't like leading zeros in arithmetic expansion.
>
> Repeat-By:
> echo $(( 09 - 1 ))
This is bash FAQ E8.
http://www.faqs.org/faqs/unix-faq/shell/bash/
Leading zeros denote octal. In octal t
Could someone point me in the right direction to understand how the TMOUT
variable is monitored, and logs out the session when it's expired?
I'm looking for a way to lock a users command session with vlock (or
similar) when they are idle for a user-defined time.
At the moment, I use TMOUT=7200 but
On 1/11/11 3:36 PM, Greg Wooledge wrote:
> POSIX 2.6.5 Field Splitting [1] says, in part,
>
> 1. If IFS is or unset, ...
> 2. If IFS is null, ...
> 3. Otherwise, ...
> b. Each occurrence in the input of an IFS character that is not IFS
> white space, along with any adjacent IFS white space
On Mon, 17 May 2010, Chet Ramey wrote:
On 4/15/10 11:56 PM, DennisW wrote:
Mapfile would be that much more powerful if the callback function had
access to the current line. Is there any chance this might be added in
the future?
Sure, there's a chance. What would be the most useful form? A s