Bug 25431 - 'shift' intrinsic producing unexpected errors
Summary: 'shift' intrinsic producing unexpected errors
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash   
(Show other bugs)
Version: 6.2
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-31 22:59 UTC by R P Herrold
Modified: 2007-04-18 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-31 23:02:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Shell script yielding the error message (319 bytes, text/plain)
2001-01-31 23:02 UTC, R P Herrold
no flags Details

Description R P Herrold 2001-01-31 22:59:58 UTC
[herrold@pokey herrold]$ ./testshift asdf
Red Hat Linux release 6.2 (Zoot)
bash-1.14.7-23.6x
LC_COLLATE=C
one
=asdf=
two
==
shift: shift count must be <= $#
done
From the man page:
 
  If n is 0, no parame<AD>ters are changed.  If n is not
given, it is assumed to be 1.
 
[herrold@pokey herrold]$                         

I will attach the test case file in a moment ...

Comment 1 R P Herrold 2001-01-31 23:02:09 UTC
Created attachment 8620 [details]
Shell script yielding the error message

Comment 2 Bernhard Rosenkraenzer 2001-02-01 14:03:09 UTC
Fixed in the current version



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