The manpage for find.1 stops at the embedded string "\c" in the manpage

Bug #530110 reported by Marius Gedminas on 2010-03-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Manpage Repository
Undecided
Unassigned

Bug Description

http://manpages.ubuntu.com/manpages/karmic/en/man1/find.1.html ends in the middle of a page while describing the -printf option. Apparently the C escape sequences confuse the generator. Note that \a and \b are omitted from the output, while \c truncates the rest of the manpage.

This could be a duplicate of #497855

Marius Gedminas (mgedmin) wrote :

The bug is apparently in /bin/sh (i.e. dash) builtin 'echo'.

Try this with bash:

  mg@localhost:~ $ X="x\\cz"
  mg@localhost:~ $ echo "$X"
  x\cz

now the same with dash:

  $ X="x\\cz"
  $ echo "$X"
  x$

and one possible fix:

  $ /bin/echo "$X"
  x\cz

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers