Mailinglist Archive: opensuse-bugs (13048 mails)

< Previous Next >
[Bug 466425] New: typo in find(1) manpage
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 15 Jan 2009 07:45:37 -0700 (MST)
  • Message-id: <bug-466425-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=466425


Summary: typo in find(1) manpage
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: mmarek@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


-printf format
..
\ ASCII NUL.

However, this does not work:
$ find -printf 'test\' | cat -v; echo
find: warning: unrecognized escape `\'
test\^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@test\^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@test\^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@test\^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

The correct escape is '\0':
$ find -printf 'test\0' | cat -v; echo
test^@test^@test^@test^@


The nroff source reads
IP \e\0
ASCII NUL.

while it should be '.IP \e0'.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups