du has --summarise option in en_GB locale, which doesn't work

Bug #1217732 reported by NeilGreenwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Undecided
Unassigned
bash-completion (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

$ du --summari<Tab>
--summarise --summarize
$ du --summarise
du: unrecognised option '--summarise'
Try 'du --help' for more information.
$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: coreutils 8.20-3ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Aug 28 08:12:42 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-04-27 (487 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
MarkForUpload: True
SourcePackage: coreutils
UpgradeStatus: Upgraded to raring on 2013-04-26 (123 days ago)

Revision history for this message
NeilGreenwood (neil-greenwood) wrote :
description: updated
Revision history for this message
C de-Avillez (hggdh2) wrote :

Thank you for opening this bug and helping make Ubuntu better.

This is not a 'du' bug: completion of command options is dealt with by 'bash-completion'. I reassigned the bug to it.

You can verify this is indeed what is going on by running 'set -x' just before trying 'du --summ<TAB>'.

affects: coreutils (Ubuntu) → bash-completion (Ubuntu)
Revision history for this message
Adam Smith (adam-disc0tech) wrote :

Cannot reproduce with same locale in trusty. Tab completion does not offer "summarise" option.

Changed in hundredpapercuts:
status: New → Incomplete
Changed in bash-completion (Ubuntu):
status: New → Invalid
Changed in hundredpapercuts:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.