Public bug reported:

Binary package hint: bash

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

** Affects: bash (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
/etc/skel/.bashrc - lesspipe problem
https://launchpad.net/bugs/58103

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to