From 8f13185e5376c2b7414115bb67dca3a76dc7dec1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 20 Jan 2021 18:22:07 -0500 Subject: Generate tags for sh files in mtags Only matches functions declared at the beginnings of lines, but I'm fine with that. --- bin/man1/mtags.1 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'bin/man1') diff --git a/bin/man1/mtags.1 b/bin/man1/mtags.1 index bb4b50b4..57856ba0 100644 --- a/bin/man1/mtags.1 +++ b/bin/man1/mtags.1 @@ -1,4 +1,4 @@ -.Dd January 19, 2021 +.Dd January 20, 2021 .Dt MTAGS 1 .Os . @@ -21,9 +21,9 @@ makes a file for .Xr ex 1 from the specified -.Xr make 1 -and +.Xr make 1 , .Xr mdoc 7 +.Xr sh 1 sources. . .Pp @@ -55,6 +55,14 @@ Files whose names end in are assumed to be .Xr mdoc 7 files. +Files whose names are +.Pa .profile , +.Pa .shrc +or end in +.Pa .sh +are assumed to be +.Xr sh 1 +files. . .Sh FILES .Bl -tag -width Ds -- cgit 1.4.1