9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] pic(1): restore example section
@ 2021-06-27  0:11 Anthony Martin
  2021-06-27  0:52 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Martin @ 2021-06-27  0:11 UTC (permalink / raw)
  To: 9front


It was erroneously elided when removing
the tpic command in commit 891a8c4f2.

---
diff 1e286c2a4b05d8864a4a8c17dc4c304d094c51e9 f0eb10de2c73527419c773a6901850090062bcbc
--- a/sys/man/1/pic	Thu Jun 24 16:51:20 2021
+++ b/sys/man/1/pic	Sat Jun 26 16:59:51 2021
@@ -288,10 +288,34 @@
 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 <A.c, A.ne>
+   circle rad .065 at 0.5 <A.c, A.ne>
+   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 <A.c, A.ne>
+   circle rad .065 at 0.5 <A.c, A.ne>
+   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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] [PATCH] pic(1): restore example section
  2021-06-27  0:11 [9front] [PATCH] pic(1): restore example section Anthony Martin
@ 2021-06-27  0:52 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2021-06-27  0:52 UTC (permalink / raw)
  To: 9front

Quoth Anthony Martin <ality@pbrane.org>:
> 
> It was erroneously elided when removing
> the tpic command in commit 891a8c4f2.

committed, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-27  1:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-27  0:11 [9front] [PATCH] pic(1): restore example section Anthony Martin
2021-06-27  0:52 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).