From d972962f925ce533ff9b0c607ae0d9578bd0ec17 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Sun, 27 Jun 2021 00:11:17 +0000 Subject: [PATCH] pic(1): restore example section It was erroneously elided when removing the tpic command in commit 891a8c4f2. --- sys/man/1/pic | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/sys/man/1/pic b/sys/man/1/pic index 40213d4ee..37a83c2f8 100644 --- a/sys/man/1/pic +++ b/sys/man/1/pic @@ -288,10 +288,34 @@ may contain newlines. The .B undef statement removes the definition of a macro. +.SH EXAMPLES +.EX +arrow "input" above; box "process"; arrow "output" above +move +A: ellipse + circle rad .1 with .w at A.e + circle rad .05 at 0.5 + circle rad .065 at 0.5 + spline from last circle.nw left .25 then left .05 down .05 + arc from A.c to A.se rad 0.5 + for i = 1 to 10 do { line from A.s+.025*i,.01*i down i/50 } +.EE +.PP +.PS +arrow "input" above; box "process"; arrow "output" above +move +A: ellipse + circle rad .1 with .w at A.e + circle rad .05 at 0.5 + circle rad .065 at 0.5 + spline from last circle.nw left .25 then left .05 down .05 + arc from A.c to A.se rad 0.5 + for i = 1 to 10 do { line from A.s+.025*i,.01*i down i/50 } +.PE .SH SOURCE .B /sys/src/cmd/pic .SH "SEE ALSO" -.IR grap (1), +.IR grap (1), .IR doctype (1), .IR troff (1) .br -- 2.44.0