Bug 7770 - mkdir displays mangled text
Summary: mkdir displays mangled text
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-12-12 17:03 UTC by Riley H Williams
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 1999-12-12 20:49:40 UTC


Attachments (Terms of Use)

Description Riley H Williams 1999-12-12 17:03:54 UTC
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 17:43:59 UTC
Thanks,
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 20:49:59 UTC
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.