shithub: riscv

Download patch

ref: 290c921d1d01119b7d4550770da06c491508508f
parent: 27f36483d44a1f9fcf9a3ffefe688a0f12ace466
author: Sigrid <ftrvxmtrx@gmail.com>
date: Mon Mar 9 09:22:10 EDT 2020

sam(1): document $% and $%dot

--- a/sys/man/1/sam
+++ b/sys/man/1/sam
@@ -554,6 +554,12 @@
 for all) is placed in
 .B /tmp/sam.err
 and the first few lines are printed.
+.PP
+Sam sets two environmental variables depending on the current file.
+.I $%
+is set to the file name.
+.I $%dot
+is set to a list consisting of three values that define the dot.
 .SS Loops and Conditionals
 .PD 0
 .TP