[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash in /bin/sh mode: . FILE incompatibility

From: ma
Subject: bash in /bin/sh mode: . FILE incompatibility
Date: Mon, 25 Sep 2000 21:50:31 +0200 (CEST)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux' -DCONF_MACHTYPE='i386-suse-linux' -DCONF_VENDOR='suse' 
-DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I. -I/usr/include -I. -I./lib 
-I/usr/include -O2 -m486 -D_GNU_SOURCE -Wall -pipe
uname output: Linux emma1 2.2.17-ma1 #10 Thu Sep 14 01:05:06 CEST 2000 i586 
Machine Type: i386-suse-linux

Bash Version: 2.03
Patch Level: 0
Release Status: release

A regular /bin/sh shell will not search . (current working directory)
unless $PATH contains "." when you do ". FILE".

While this is convenient for users, it's insuitable for /bin/sh
compatibility mode since it's hardly possible to develop portable sh
scripts with bash this way.

obvious from documentation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]