Bug 203536

Summary: dtrace_(io|ip|tcp|udp).4: Example code rendered incorrectly
Product: Documentation Reporter: Fabian Keil <fk>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Some People CC: brueffer
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
dtrace_(io|ip|tcp|udp).4: Escape slashes in the example code none

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!