From 290c921d1d01119b7d4550770da06c491508508f Mon Sep 17 00:00:00 2001 From: Sigrid Date: Mon, 9 Mar 2020 13:22:10 +0100 Subject: [PATCH] sam(1): document $% and $%dot --- sys/man/1/sam | 6 ++++++ 1 file changed, 6 insertions(+) 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