Bug 104876 - file(1) and magic(5) are missing &, <, and > characters
Summary: file(1) and magic(5) are missing &, <, and > characters
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: file
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-23 00:53 UTC by D. Hugh Redelmeier
Modified: 2007-04-18 16:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-12-16 23:07:13 UTC
Embargoed:


Attachments (Terms of Use)

Description D. Hugh Redelmeier 2003-09-23 00:53:34 UTC
The file(1) and magic(5) man pages' groff source makes references to undefined
strings: \*[Am], \*[Lt], and \*[Gt].  These are intended to display as &, <, and
> respectively.  These characters are critical in magic(5).

Additionally, in the synopsis of file(1), there is a line:
  \*[Am]...
that really should be:
  \&...
(preventing the elipsis from being interpreted as a command).

file(1) is maintained by Cristos Zoulas and is distributed from
<ftp://ftp.astron.com/pub/file/file-X.YY.tar.gz>.  There are currently two
versions there: 3.41 and 4.04.  3.41 still has the problems but 4.04 does not.

The following definitions, added near the top of each file, would solve the
first problem:
.ds Am &
.ds Lt <
.ds Gt >

Comment 1 Jeff Johnson 2003-12-16 23:07:13 UTC
this should be fixed in file-4.06-1 packages in rawhide.


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