The proper syntax for this is

set -o emacs  # to turn emacs-style editing on

and

set +o emacs # to turn emacs editing off

So the meaning of "set -o emacs off" would be equivalent to "set -o
emacs; set off".

It's admittedly confusing, but I believe bash is conforming to spec
here.

** Changed in: bash (Ubuntu)
       Status: New => Invalid

-- 
set -o option off clobbers shell arguments in bash
https://bugs.launchpad.net/bugs/190466
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to