Description of problem: In normal case, the job specification %- means the previous job. It's written in the manual of bash. But, if there is only the current job, it seems that the job specification %- means the current job according the actual behavior. But, the behavior is not in the manual of bash. Version-Release number of selected component (if applicable): bash-3.1-16.1 How reproducible: 100% Steps to Reproduce: Step 1: Execute man man on background. Step 2: Check the status and flag of current job using with jobs command. Step 3: Specify jobspec "%-" that actually not exist. * The result should be failed but did not failed. # man man & [1] 18709 # jobs [1]+ Stopped man man # fg %- man man Actual results: Description in man page is different from actual operation. Expected results: The man page describes the exceptional information. Additional info:
Created attachment 305485 [details] manpage update to describe job
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0116.html