summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2014-04-02 15:49:24 -0400
committerstanley lieber <stanley.lieber@gmail.com>2014-04-02 15:49:24 -0400
commit95c100a3d697914c94e65ccecd1426a4f94000b0 (patch)
tree2c395d43e9dbc3e71874c3e53ae7255e3a87975b
parentaada99abe3a83d50c25b307657204bd997139859 (diff)
downloadplan9front-95c100a3d697914c94e65ccecd1426a4f94000b0.tar.xz
newt: clean up regexp
-rwxr-xr-xrc/bin/newt2
-rw-r--r--sys/man/1/newt6
2 files changed, 4 insertions, 4 deletions
diff --git a/rc/bin/newt b/rc/bin/newt
index f83e96b6b..f394bfc75 100755
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -72,7 +72,7 @@ fn getposts{ ls | grep -e '^[0-9]+$' | sort -n | tail -$maxposts }
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
}
diff --git a/sys/man/1/newt b/sys/man/1/newt
index 90afd56ea..7098466f6 100644
--- a/sys/man/1/newt
+++ b/sys/man/1/newt
@@ -124,9 +124,9 @@ Print the current message in quoted form, suitable for reply.
.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).