Bug 985771 - manpage of bash may need an update
Summary: manpage of bash may need an update
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 19
Hardware: noarch
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Ondrej Oprala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 08:24 UTC by hw
Modified: 2016-02-01 02:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-01 10:57:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description hw 2013-07-18 08:24:14 UTC
The man page of bash states:


       MAILCHECK
              Specifies how often (in seconds) bash checks for mail.  The
              default  is 60 seconds.  When it is time to check for mail,
              the shell does so before displaying the primary prompt.  If
              this  variable  is  unset,  or set to a value that is not a
              number greater than or equal to zero,  the  shell  disables
              mail checking.


Checking for mail remains enabled when MAILCHECK is set to zero.  Setting MAILCHECK to -1 disables the mail check (or at least the message that you have new mail).

Comment 1 Fedora Admin XMLRPC Client 2013-10-07 11:47:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Ondrej Oprala 2014-04-01 10:57:07 UTC
MAILCHECK=0 is supposed to keep the mail check enabled, just read the sentence one more time perhaps. Let me rewrite part of that man page for you in pseudo-code:

if $MAILCHECK >= 0
  MAILCHECK_ENABLED = true;
else
  MAILCHECK_ENABLED = false;


Note You need to log in before you can comment on or make changes to this bug.