shithub: riscv

Download patch

ref: 95c100a3d697914c94e65ccecd1426a4f94000b0
parent: aada99abe3a83d50c25b307657204bd997139859
author: stanley lieber <stanley.lieber@gmail.com>
date: Wed Apr 2 11:49:24 EDT 2014

newt: clean up regexp

--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -72,7 +72,7 @@
 fn k{
 	kmnt=`{echo $mnt | sed 's/\//\\\//g'}
 	f $mnt/$* |
-		grep -v -e '\/([0-9]+(\/|$)|post$)' |
+		grep -v -e '\/([0-9]+|article|body|header|post|xover)$' |
 		sed 's/^'$"kmnt'\// g	/g' |
 		sort
 }
--- a/sys/man/1/newt
+++ b/sys/man/1/newt
@@ -124,9 +124,9 @@
 .IR nntpfs (4)
 .SH BUGS
 The list of available newsgroups offered by a given server
-may run to many megabytes in size. This complicates
-walking the list over a slow Internet connection, and renders
-searching all but infeasible.
+may be quite large. This complicates walking the list over 
+a slow Internet connection, and renders searching in real-time
+all but infeasible.
 .SH HISTORY
 .I Newt
 first appeared in 9front (April, 2014).