/bin/sh different than bash in fedora 11

Joachim Backes joachim.backes at rhrk.uni-kl.de
Fri Jun 19 09:01:00 UTC 2009


Herbert Gasiorowski wrote:
> The following to commands act different - though sh is just a link to bash:
> 
>  > bash -c ". config"
>  >   sh -c ". config"

But: sh -c ". ./config" runs correctly"

I added "." to the PATH variable (PATH=".":$PATH), and then
sh -c ". config" was performed as desired.

> sh: line 0: .: config: file not found
> 
> this happens after switching from Fedora 10 to 11
> 
> Is this a bug or my fault?
> 

Additionally, have a look at

"http://linux.derkeiler.com/Newsgroups/alt.os.linux/2004-03/2698.html

-- 

Joachim Backes <joachim.backes at rhrk.uni-kl.de>

http://www.rhrk.uni-kl.de/~backes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6101 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090619/ba79815e/attachment-0001.bin>


More information about the fedora-list mailing list