$OpenBSD: bad.in,v 1.2 2022/04/24 13:34:53 schwarze Exp $
SHIFT_BAD 1 "April 24, 2022"
NAME
shift-bad \(en wrong usage of macro arguments
DESCRIPTION
initial text
in macro: "\\$1"
invalid argument number 'x': "\\$x" ..
argument used before call: "\$1" .shift
.mym argument
argument used after call: "\$1" .shift 2
.shift badarg after shift badarg: "\\$1"
.shift -1 after shift -1: "\\$1"
.shift 2 after excessive shift: \\n(.$ "\\$1" .. .mym arg1 arg2
final text