9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] man g filetypes diff
@ 2021-11-01 15:21 Kyle Milz
  2021-11-01 15:53 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Milz @ 2021-11-01 15:21 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: man_g_files.diff --]
[-- Type: text/plain, Size: 866 bytes --]

hi,

while reading the src for g i noticed the file types list in the
manual was out of date. diff below synchronizes and sorts them.
it looks like the .B macro only accepts 6 args or less, so i
observe that limit.

kyle


diff aebf92224f1977cfac6fae779d5c288e16afcebd uncommitted
--- a/sys/man/1/grep
+++ b/sys/man/1/grep
@@ -115,10 +115,12 @@
 and forces tagging of output lines by file name. If no files
 are listed, it recursively searches the current directory for
 all files matching
-.B *.b *.c *.C *.h *.l *.m *.s *.y
-.B *.asm *.cc *.cs *.lx *.cgi *.pl
-.B *.py *.tex *.ms *.java *.xy *.go
-.B *.goc *.cpp
+.B *.b *.c *.C *.h *.l *.m
+.B *.s *.y
+.B *.asm *.awk *.cc *.cgi *.cpp *.cs
+.B *.go *.goc *.hs *.java *.lua *.lx
+.B *.mk *.ml *.mli *.ms *.myr *.pl
+.B *.py *.rc *.sh *.tex *.xy
 .PP
 The recursive search can be suppressed by passing g the
 .B -n

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] man g filetypes diff
  2021-11-01 15:21 [9front] man g filetypes diff Kyle Milz
@ 2021-11-01 15:53 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2021-11-01 15:53 UTC (permalink / raw)
  To: 9front

Quoth Kyle Milz <krwmilz@gmail.com>:
> hi,
> 
> while reading the src for g i noticed the file types list in the
> manual was out of date. diff below synchronizes and sorts them.
> it looks like the .B macro only accepts 6 args or less, so i
> observe that limit.
> 

lgtm, committed.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-01 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 15:21 [9front] man g filetypes diff Kyle Milz
2021-11-01 15:53 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).