Actually the
A=`alias`
part is redundant. A simple
alias sudo='alias '
suffices.

>From bash.info 6.6 Aliases: "If the last character of the alias value
is a space or tab character, then the next command word following the
alias is also checked for alias expansion."

Csabi

-- 
sudo does not recognize bash aliases
https://bugs.launchpad.net/bugs/275713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to