From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5283 invoked from network); 27 Jun 2021 00:47:49 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 27 Jun 2021 00:47:49 -0000 Received: from h2.fbrelay.privateemail.com ([131.153.2.43]) by 1ess; Sat Jun 26 20:22:31 -0400 2021 Received: from MTA-05-4.privateemail.com (mta-05.privateemail.com [198.54.127.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1.fbrelay.privateemail.com (Postfix) with ESMTPS id 3FDD6800B5 for <9front@9front.org>; Sat, 26 Jun 2021 20:11:38 -0400 (EDT) Received: from MTA-05.privateemail.com (localhost [127.0.0.1]) by MTA-05.privateemail.com (Postfix) with ESMTP id 988EB600C6 for <9front@9front.org>; Sat, 26 Jun 2021 20:11:28 -0400 (EDT) Received: from localhost (unknown [10.20.151.226]) by MTA-05.privateemail.com (Postfix) with ESMTPA id E1F06600AC for <9front@9front.org>; Sat, 26 Jun 2021 20:11:27 -0400 (EDT) Date: Sat, 26 Jun 2021 17:11:17 -0700 From: Anthony Martin To: 9front@9front.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: ClamAV using ClamSMTP List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social injection-based method AJAX API shader singleton optimizer Subject: [9front] [PATCH] pic(1): restore example section Reply-To: 9front@9front.org Precedence: bulk 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 + 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