Bug 484892 - sdiff does not recognize -E option
Summary: sdiff does not recognize -E option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: diffutils
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks: 914662 914666
TreeView+ depends on / blocked
 
Reported: 2009-02-10 15:27 UTC by Milos Malik
Modified: 2013-02-22 13:06 UTC (History)
3 users (show)

Fixed In Version: diffutils-2.8.1-16.el5
Doc Type: Bug Fix
Doc Text:
The -E option for the sdiff command was not accepted because of an accidental omission in the list of accepted options. This has now been fixed.
Clone Of:
: 914662 914666 (view as bug list)
Environment:
Last Closed: 2013-01-08 07:16:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
diffutils-sdiff-E.patch (529 bytes, patch)
2009-02-13 17:36 UTC, Tim Waugh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0036 0 normal SHIPPED_LIVE diffutils bug fix update 2013-01-07 15:28:32 UTC

Description Milos Malik 2009-02-10 15:27:26 UTC
Description of problem:
The help message claims that "-E" option is recognized, but the utility does not know it.

Version-Release number of selected component (if applicable):
diffutils-2.8.1-15.2.3.el5

How reproducible:
always

Steps to Reproduce:
# sdiff --help | grep -- "-E"
  -E  --ignore-tab-expansion  Ignore changes due to tab expansion.
# sdiff -E
sdiff: invalid option -- E
sdiff: Try `sdiff --help' for more information.
# echo $?
2
# 
  
Actual results:
unrecognized option in help message

Expected results:
all options in help message are recognized

Additional info:

Comment 1 Milos Malik 2009-02-10 15:37:55 UTC
# ./guess-options.sh -b /usr/bin/sdiff 
==== binary analysis -- enabled
==== The program recognizes 14 short options:
-B
-H
-I
-W
-a
-b
-d
-i
-l
-o
-s
-t
-v
-w
==== The program recognizes 18 long options:
--diff-program
--expand-tabs
--help
--ignore-all-space
--ignore-blank-lines
--ignore-case
--ignore-matching-lines
--ignore-space-change
--ignore-tab-expansion
--left-column
--minimal
--output
--speed-large-files
--strip-trailing-cr
--suppress-common-lines
--text
--version
--width
==== The program recognizes 14 equivalent options:
==== -B --ignore-blank-lines
==== -H --speed-large-files
==== -I --ignore-matching-lines
==== -W --ignore-all-space
==== -a --text
==== -b --ignore-space-change
==== -d --minimal
==== -i --ignore-case
==== -l --left-column
==== -o --output
==== -s --suppress-common-lines
==== -t --expand-tabs
==== -v --version
==== -w --width
==== The fake library issued following warnings:
==== -E is not processed by getopt_long()
# rpm -q diffutils
diffutils-2.8.1-15.2.3.el5.i386
#

Comment 2 Tim Waugh 2009-02-13 17:36:32 UTC
Created attachment 331849 [details]
diffutils-sdiff-E.patch

Comment 3 RHEL Program Management 2009-03-26 16:47:21 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 11 Tim Waugh 2012-06-15 16:15:23 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The -E option for the sdiff command was not accepted because of an accidental omission in the list of accepted options. This has now been fixed.

Comment 15 errata-xmlrpc 2013-01-08 07:16:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0036.html


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