summaryrefslogtreecommitdiff
path: root/sys/man/1/sam
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2020-03-09 13:22:10 +0100
committerSigrid <ftrvxmtrx@gmail.com>2020-03-09 13:22:10 +0100
commit290c921d1d01119b7d4550770da06c491508508f (patch)
treeb7285b42aec6e12e2bbf890cae0d5946bd100c92 /sys/man/1/sam
parent27f36483d44a1f9fcf9a3ffefe688a0f12ace466 (diff)
sam(1): document $% and $%dot
Diffstat (limited to 'sys/man/1/sam')
-rw-r--r--sys/man/1/sam6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/man/1/sam b/sys/man/1/sam
index 1651cbd72..5c1455b22 100644
--- a/sys/man/1/sam
+++ b/sys/man/1/sam
@@ -554,6 +554,12 @@ and
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