=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/m4.1,v retrieving revision 1.65 retrieving revision 1.66 diff -c -r1.65 -r1.66 *** src/usr.bin/m4/m4.1 2021/03/08 02:47:28 1.65 --- src/usr.bin/m4/m4.1 2022/03/31 17:27:25 1.66 *************** *** 1,4 **** ! .\" @(#) $OpenBSD: m4.1,v 1.65 2021/03/08 02:47:28 jsg Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" @(#) $OpenBSD: m4.1,v 1.66 2022/03/31 17:27:25 naddy Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 30,36 **** .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" ! .Dd $Mdocdate: March 8 2021 $ .Dt M4 1 .Os .Sh NAME --- 30,36 ---- .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" ! .Dd $Mdocdate: March 31 2022 $ .Dt M4 1 .Os .Sh NAME *************** *** 74,80 **** parenthesis .Pq Sq \&( . If the macro name is not followed by an open ! parenthesis it is processed with no arguments. .Pp Macro names consist of a leading alphabetic or underscore possibly followed by alphanumeric or underscore characters, e.g., --- 74,80 ---- parenthesis .Pq Sq \&( . If the macro name is not followed by an open ! parenthesis, it is processed with no arguments. .Pp Macro names consist of a leading alphabetic or underscore possibly followed by alphanumeric or underscore characters, e.g., *************** *** 332,338 **** .Ic index(the quick brown fox jumped, fox) returns 16). If the second ! argument is not found index returns \-1. .It Fn indir macro arg1 ... Indirectly calls the macro whose name is passed as the first argument, with the remaining arguments passed as first, ... arguments. --- 332,338 ---- .Ic index(the quick brown fox jumped, fox) returns 16). If the second ! argument is not found, index returns \-1. .It Fn indir macro arg1 ... Indirectly calls the macro whose name is passed as the first argument, with the remaining arguments passed as first, ... arguments. *************** *** 412,418 **** .It Fn substr string offset length Returns a substring of the first argument starting at the offset specified by the second argument and the length specified by the third argument. ! If no third argument is present it returns the rest of the string. .It Fn syscmd cmd Passes the first argument to the shell. Nothing is returned. --- 412,418 ---- .It Fn substr string offset length Returns a substring of the first argument starting at the offset specified by the second argument and the length specified by the third argument. ! If no third argument is present, it returns the rest of the string. .It Fn syscmd cmd Passes the first argument to the shell. Nothing is returned.