[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
------- Additional Comments From jpazdziora(a)redhat.com 2007-10-15 05:02 EST -------
So, I've been pointed to groff_char(7) and to the fact that if we need to get
"normal" apostrophe to the output in nroff, it has to be written as \(aq. So we
probably need a change to Pod::Man to produce \(aq instead of that simple single
apostrophe to the output.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
jpazdziora(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jpazdziora(a)redhat.com
------- Additional Comments From jpazdziora(a)redhat.com 2007-10-15 04:44 EST -------
The problem is that if you have a POD document with a simple apostroph (\047),
when you convert it to man page, that apostrophe gets changed to \342\200\231.
$ cat test.pod
=head1 Test
Testing
perl -le 'print 1'
End of testing
$ od -c test.pod
0000000 \n = h e a d 1 T e s t \n \n T e
0000020 s t i n g \n \n \t p e r l - l e
0000040 ' p r i n t 1 ' \n \n E n d
0000060 o f t e s t i n g \n \n
0000074
$ perldoc test.pod | od -c
0000000 T E S T ( 1 )
0000020 U s e r C o n t r
0000040 i b u t e d P e r l D o c u
0000060 m e n t a t i o n
0000100 T E S T ( 1 ) \n \n
0000120 \n \n T \b T e \b e s \b s t \b t \n
0000140 T e s t i n g \n \n
0000160 p e
0000200 r l - l e 342 200 231 p r i n t
0000220 1 342 200 231 \n \n E n d
0000240 o f t e s t i n g \n \n \n \n p
0000260 e r l v 5 . 8 . 8
0000300
0000320 2 0 0 7 - 1 0 - 1 5
0000340
0000360 T E S T ( 1 ) \n
0000376
When I run simple
$ pod2man test.pod
it still has the correct apostophe there:
[...]
.IX Title "TEST 1"
.TH TEST 1 "2007-10-15" "perl v5.8.8" "User Contributed Perl Documentation"
.SH "Test"
.IX Header "Test"
Testing
.PP
.Vb 1
\& perl -le 'print 1'
.Ve
.PP
End of testing
It's only after
$ pod2man test.pod | nroff -man
when it gets changed.
So, either nroff is doing something nasty, trying to be clever and changing
characters when it shouldn't, or nroff's behaviour is documented and alright,
and then probably pod2man should do some more quoting/escaping/tweaking to
produce output which nroff will process without changing the characters.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
mmaslano(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mmaslano(a)redhat.com |jpo(a)di.uminho.pt
Component|groff |perl-WWW-Mechanize
------- Additional Comments From mmaslano(a)redhat.com 2007-10-15 04:03 EST -------
I've just looked in the "man 7 groff" and here is:
Single Character Escapes:
\’ The acute accent ´; same as \(aa. Unescaped: apostrophe, right quotation
mark, single quote (ASCII 0x27).
\‘ The grave accent `; same as \(ga. Unescaped: left quote, backquote
(ASCII 0x60).
So the problem is in every man page, which have ` instead of \`. This problem
isn't occured in package man-page as I see.
For example tcsh -> "rpm -qf /usr/share/man/man1/tcsh.1.gz"
give us: tcsh-6.15-1.fc8
I reassign it back to perl-WWW-Mechanize, you can reassign it to particular
packages, if you want.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
varekova(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jpo(a)di.uminho.pt |mmaslano(a)redhat.com
Component|perl-WWW-Bugzilla |groff
------- Additional Comments From varekova(a)redhat.com 2007-10-15 03:21 EST -------
Oops thank you this is not perl-WWW-Mechanize but it is not man-page problem
too, groff is the package which is used to display man-pages. So reassigning again.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
------- Additional Comments From kernel(a)pkts.ca 2007-10-15 02:55 EST -------
Dude....
That was only an example. I tried it with a *lot* of man pages, and the man
program is converting both ` and ' into some unicode-ish single quote.
For instance, man tcsh.
And man zsoelim.
And just about every ***ing man page on the system that has a single quote in it.
Don't pass this off to someone else, because I don't think there's a bugzilla
option for selecting everyone with a man page.
Thanks for your attention.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 331561] Examples cut-n-pasted from man pages fail because of quotes
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Examples cut-n-pasted from man pages fail because of quotes
https://bugzilla.redhat.com/show_bug.cgi?id=331561
varekova(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fedora-perl-devel-
| |list(a)redhat.com
AssignedTo|varekova(a)redhat.com |jpo(a)di.uminho.pt
Component|man-pages |perl-WWW-Bugzilla
------- Additional Comments From varekova(a)redhat.com 2007-10-15 02:45 EST -------
This man-page is a part of perl-WWW-Mechanize package, so I'm reassigning this
bug to it.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 144672] perl needs dependency on specific libdb version
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: perl needs dependency on specific libdb version
https://bugzilla.redhat.com/show_bug.cgi?id=144672
------- Additional Comments From jik(a)kamens.brookline.ma.us 2007-10-14 09:56 EST -------
What's wrong with the solution already proposed?
Requires: db4 = %(rpm -q --qf %{VERSION} db4-devel)
The only objection raised to this was "Since we cannot run rpm query during
rpmbuild," but no explanation was given for why this is so, and someone else
disputed this objection. I just tested it and it works just fine.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months
[Bug 144672] perl needs dependency on specific libdb version
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: perl needs dependency on specific libdb version
https://bugzilla.redhat.com/show_bug.cgi?id=144672
bugzilla(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |medium
Priority|normal |medium
Product|Fedora Core |Fedora
------- Additional Comments From jik(a)kamens.brookline.ma.us 2007-10-14 00:19 EST -------
This just bit me again.
<sarcasm>
"mixing repositories is unsupported" -- yeah, you're right, why should you go to
any effort to support the people who are willing to break their systems
regularly by keeping up-to-date with Rawhide to help find and fix bugs in
Fedora? I mean, why take 15 minutes to add a dependency to the perl spec file
that could save your testers hours and hours of grief? I can see how that's
just not worth it.
</sarcasm>
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
16 years, 6 months