Bug 7770 - mkdir displays mangled text
mkdir displays mangled text
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 1999-12-12 12:03 EST by Riley H Williams
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-12-12 15:49:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Riley H Williams 1999-12-12 12:03:54 EST
The mkdir command produces a mangled display text when it is run in verbose
mode and also creates multiple levels of directories at the same time.

As an example, assuming that /tmp/a does not exist, try the following:

    mkdir -p --verbose /tmp/a/b/c/d/e/f/g/h/i/j/k/l/m

I would tend to suspect that there's a \n missing from at least one
printf() in the mkdir source code, but have no idea which author is
responsible for maintaining this command, so have reported it here and hope
somebody here can forward it to the relevant person.
Comment 1 Bernhard Rosenkraenzer 1999-12-12 12:43:59 EST
I've fixed the bug in fileutils 4.0-11 (rawhide) and passed the patch on to the
maintainers of the base package.
Comment 2 Riley H Williams 1999-12-12 15:49:59 EST
Thanks for that.

I have to admit that I'd also like to see the -v short-form for the --verbose
option available in mkdir like it is in just about every other command, but
that's probably no more than wishful thinking on my part...

Anyway, bug closed.

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