Package: bash
Version: 3.1-5

Hi,

there's a bug in /etc/skel/.bashrc:

It calls the program lesspipe and evals it's output.

But the syntax of the environment commands that lesspipe spits out
depends on the SHELL environment variable.

Thus, if a user has a SHELL variable other than any sh dialect, 
(e.g. tcsh), and runs bash, lesspipe issues csh-compatible commands
which are incompatible to sh. It fails to work and issues annoying
error messages.



replace 

   eval "$(lesspipe)"

with 

   eval "$(env SHELL=/bin/sh lesspipe)"



regards 
Hadmut


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

Reply via email to