newt: clean up regexp

This commit is contained in:
stanley lieber 2014-04-02 15:49:24 -04:00
parent aada99abe3
commit 95c100a3d6
2 changed files with 4 additions and 4 deletions

View file

@ -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
}

View file

@ -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).