Bug 203536 - dtrace_(io|ip|tcp|udp).4: Example code rendered incorrectly
Summary: dtrace_(io|ip|tcp|udp).4: Example code rendered incorrectly
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-10-04 16:00 UTC by Fabian Keil
Modified: 2015-12-15 13:31 UTC (History)
1 user (show)

See Also:


Attachments
dtrace_(io|ip|tcp|udp).4: Escape slashes in the example code (5.42 KB, patch)
2015-10-04 16:00 UTC, Fabian Keil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Keil 2015-10-04 16:00:44 UTC
Created attachment 161701 [details]
dtrace_(io|ip|tcp|udp).4: Escape slashes in the example code

Currently the code in the EXAMPLES sections of the dtrace_(io|ip|tcp|udp) man pages is rendered incorrectly which causes problems when copy&pasting it.

The attached patch fixes this by escaping a bunch of slashes.

Obtained from: ElectroBSD.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-12-15 13:29:29 UTC
A commit references this bug:

Author: brueffer
Date: Tue Dec 15 13:29:05 UTC 2015
New revision: 292265
URL: https://svnweb.freebsd.org/changeset/base/292265

Log:
  Fix example code rendering, \n needs escaping to show up.

  PR:		203536
  Submitted by:	Fabian Keil

Changes:
  head/share/man/man4/dtrace_io.4
  head/share/man/man4/dtrace_ip.4
  head/share/man/man4/dtrace_tcp.4
  head/share/man/man4/dtrace_udp.4
Comment 2 Christian Brueffer freebsd_committer freebsd_triage 2015-12-15 13:31:08 UTC
Fixed in HEAD, thanks!