> Man page contains the text:
> 
> HISTSIZE The number of commands to remember in the command history
> (see HISTORY below). The default value is 500.

I think that means that if HISTSIZE isn't set at all, then Bash will act
as though HISTSIZE had been set to 500.

If you have HISTSIZE set, then the default doesn't apply.

> $ grep HISTFILESIZE ~/.bashrc
> HISTFILESIZE=2000

That's HISTFILESIZE, not HISTSIZE. They are different variables, to control
different (albeit related) things.

However, skel.bashrc does also set HISTSIZE, to 1000. But that doesn't
make the manpage wrong. Ubuntu gives new users a HISTSIZE variable, but
it's still the case that a user who removes that will get a default size
of 500.

So I think this is invalid.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340511

Title:
  man page contains wrong default history size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1340511/+subscriptions

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

Reply via email to