diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2014-04-02 15:49:24 -0400 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2014-04-02 15:49:24 -0400 |
commit | 95c100a3d697914c94e65ccecd1426a4f94000b0 (patch) | |
tree | 2c395d43e9dbc3e71874c3e53ae7255e3a87975b | |
parent | aada99abe3a83d50c25b307657204bd997139859 (diff) | |
download | plan9front-95c100a3d697914c94e65ccecd1426a4f94000b0.tar.xz |
newt: clean up regexp
-rwxr-xr-x | rc/bin/newt | 2 | ||||
-rw-r--r-- | sys/man/1/newt | 6 |
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). |