bashrc

2007-04-12 Thread bashful

Hi,

I have been searching around on the internet for ages but can find any
information about .bashrc does anyone know what it does and what its used
for?

Thanks Bashful.
-- 
View this message in context: 
http://www.nabble.com/bashrc-tf3559527.html#a9940033
Sent from the Gnu - Bash mailing list archive at Nabble.com.



___
Bug-bash mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-bash


Result of "( false )" is 0, should be 1

2007-04-12 Thread yozh
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2
uname output: Linux banana.mx1.ru 2.4.27-2-686 #1 Fri Mar 25 11:48:59 JST 2005 
i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
Result of "( false )" is 0, should be 1

Repeat-By:

Code:

===
set -e
( false )
echo "not visible"
===

Execute in bash. You will see "not visible". Expecting that nothing is 
printed
and script exited with error.

Also in version 3.2.10(1)-release

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]


___
Bug-bash mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-bash


FDs greater than 9 can't be closed

2007-04-12 Thread greg
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: openbsd3.9
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='openbsd3.9' -DCONF_MACHTYPE='i386-unknown-openbsd3.9' 
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -I/usr/local/include 
-O2 -pipe
uname output: OpenBSD pegasus 4.0 GENERIC#1 i386
Machine Type: i386-unknown-openbsd3.9

Bash Version: 3.1
Patch Level: 1
Release Status: release

Description:
File descriptors greater than 9 seem to ignore move/close
redirections (e.g. 17<&-).  This problem does not occur in
earlier versions of bash, so it appears to be a regression.

Repeat-By:
Given this script:
#!/usr/local/bin/bash
exec 17& operators.

This problem was originally noted by "svizzero" in Freenode's
#bash channel.  I'm just reporting it so it can be fixed.

Fix:
The only workaround I've found is "don't use FDs greater than 9".


___
Bug-bash mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-bash


Bash auto-logout truncates "timed out waiting for input: auto-logout" string

2007-04-12 Thread West Stephen-QSW000
Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: linux-gnuspe
Compiler: ppc_85xx-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc'
-DCONF_OSTYPE='linux-gnuspe' 
-DCONF_MACHTYPE='powerpc-montavista-linux-gnuspe'
-DCONF_VENDOR='montavista' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I.. -I../include -I../lib  -O2
uname output: Linux DMICTRL 2.6.10_mvl402-UBS-DMICTRLKERNEL-REL-001 NONE
ppc GNU
/Linux
Machine Type: powerpc-montavista-linux-gnuspe
 
Bash Version: 2.05b
Patch Level: 0
Release Status: release
 
Description:
I am using a custom board with a serial console running at a
baud rate of 115200.  I have a TMOUT value set, and when that value is
reached, the console auto-logout happens.  Often, the auto-logout string
printed by bash gets truncated.  It should read "timed out waiting for
input: auto-logout", but instead it reads "timed out waiting f".  I do
not see this issue if I am connected to the board over a faster
interface such as when I ssh to the board over an ethernet interface. 
 
___
Bug-bash mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-bash