Bug 69995 - nice -n 8 produces erroneous result in tcsh
nice -n 8 produces erroneous result in tcsh
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
7.2
All Linux
medium Severity low
: ---
: ---
Assigned To: wdovlrrw
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-28 06:50 EDT by Scott R. Godin
Modified: 2007-04-18 12:44 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-28 06:50:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Scott R. Godin 2002-07-28 06:50:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020509

Description of problem:
 nice -n 8 /usr/bin/mrtg /etc/mrtg/mrtg.cfg

nice: Badly formed number.

nice --help

nice: Badly formed number.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1./bin/tcsh
2.nice --help
 -or- 
3.nice -n 8 /usr/bin/mrtg /etc/mrtg/mrtg.cfg

	

Actual Results:  nice: Badly formed number.


Expected Results:  should have adjusted priority accordingly

Additional info:

works as expected under bash/sh/zsh

not sure whether this is tcsh specific or not, renice works normally under tcsh.
I use tcsh 100% of the time, by personal preference, and this is the first
instance of finding a stock command that doesn't work as expected in 6 months of
daily usage of 7.2
Comment 1 Scott R. Godin 2002-07-28 07:07:25 EDT
bleh, as it turns out, nice is also a tcsh builtin and this wasn't /bin/nice
misbehaving, as further investigation discovered. *sigh* ah well, one less thing
to worry about.

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