Hi

when i try

$ /bin/bash --rcfile /home/promotion/emptyfile

i get the same behaviour

etcbashrc
emptyfile

$ cat /home/promotion/emptyfile
echo emptyfile
export horst=ps

$ cat /etc/bash.bashrc
echo etcbashrc

Guido

Michelle Konzack schrieb:
> Am 2009-02-19 16:19:51, schrieb qqqqqqqqq9:
>>  --rcfile file
>> Execute commands from file instead of the system wide initialization file 
>> /etc/bash.bashrc and the standard personal initialization file ~/.bashrc if 
>> the shell is interactive (see INVOCATION below).
> 
> AFAIK does it require a full path where ~ and ${HOME} are acceptable
> 
>> i however get: 
>> $ /bin/bash --rcfile emptyfile 
>> etcbashrc
>>
>> which means, that the /etc/bash.bashrc ist read contrary to what the manpage 
>> says.
> 
> It seems to be a fallbak function since bash can  not  find  your  empty
> file.  Also, AFAIK, an ZERO lenght file is considered as non-existent.
> 
> A behaviour which I have seen in many programs.
> 
> 
> Thanks, Greetings and nice Day/Evening
>     Michelle Konzack
>     Systemadministrator
>     24V Electronic Engineer
>     Tamay Dogan Network
>     Debian GNU/Linux Consultant
> 
> 






-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to