bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29946: no -A argument for 'tr' generates an error message whenever t


From: Michael
Subject: bug#29946: no -A argument for 'tr' generates an error message whenever the AIX command "lslpp -L" is used (AIX 6.1 and later).
Date: Tue, 2 Jan 2018 17:32:38 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Thunderbird/56.0

1). AIX 5.3 (/usr/bin/tr) as an argument (-A) that was not used by the command 'lslpp', so the message does not occur:

address@hidden:[/home/prj/gnu/coreutils-8.29]/usr/bin/tr -A
tr: 0653-712 The combination of options and String parameters is not legal.
Usage: tr [ -[c|C] | -[c|C]ds | -[c|C]s | -ds | -s ] [-A] String1 String2
       tr { -[c|C]d | -[c|C]s | -d | -s } [-A] String1
address@hidden:[/home/prj/gnu/coreutils-8.29]/opt/bin/tr -A
/opt/bin/tr: invalid option -- 'A'
Try '/opt/bin/tr --help' for more information.
address@hidden:[/home/prj/gnu/coreutils-8.29]lslpp -L | grep coreutils
  aixtools.gnu.coreutils.man.en_US
                            8.29.0.0    C     F    gnu coreutils man pages
  aixtools.gnu.coreutils.rte
                            8.29.0.0    C     F    gnu coreutils 02-Jan-2018
  aixtools.gnu.coreutils.share
                            8.29.0.0    C     F    gnu coreutils universal files
address@hidden:[/home/prj/gnu/coreutils-8.29]oslevel -s
5300-07-00-0000

2). AIX 6.1 - at some point - modified it's command "lslpp" to utilize "tr -A" - and now, when coreutils are preferred - this generates an error message on AIX.

address@hidden:[/home/prj/gnu/coreutils-8.29]oslevel -s
6100-06-01-1043
address@hidden:[/home/prj/gnu/coreutils-8.29]/usr/bin/tr -A
tr: 0653-712 The combination of options and String parameters is not legal.
Usage: tr [ -[c|C] | -[c|C]ds | -[c|C]s | -ds | -s ] [-A] String1 String2
       tr { -[c|C]d | -[c|C]s | -d | -s } [-A] String1
address@hidden:[/home/prj/gnu/coreutils-8.29]/opt/bin/tr -A
/opt/bin/tr: invalid option -- 'A'
Try '/opt/bin/tr --help' for more information.
address@hidden:[/home/prj/gnu/coreutils-8.29]lslpp -L | grep coreutils
tr: invalid option -- 'A'
Try 'tr --help' for more information.
/usr/sbin/rpm_share[440]: =/usr/bin/awk: This is not an identifier.
  aixtools.gnu.coreutils.man.en_US
                            8.29.0.0    C     F    gnu coreutils man pages
  aixtools.gnu.coreutils.rte
                            8.29.0.0    C     F    gnu coreutils 02-Jan-2018
  aixtools.gnu.coreutils.share
                            8.29.0.0    C     F    gnu coreutils universal files

The following is not REALLY - a solution. But I hope it clarifies the issue.

address@hidden:[/home/prj/gnu/coreutils-8.29]mv /opt/bin/tr /opt/bin/trXXX
address@hidden:[/home/prj/gnu/coreutils-8.29]lslpp -L | grep coreutils
  aixtools.gnu.coreutils.man.en_US
                            8.29.0.0    C     F    gnu coreutils man pages
  aixtools.gnu.coreutils.rte
                            8.29.0.0    C     F    gnu coreutils 02-Jan-2018
  aixtools.gnu.coreutils.share
                            8.29.0.0    C     F    gnu coreutils universal files
address@hidden:[/home/prj/gnu/coreutils-8.29]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]