newt: clean up regexp
This commit is contained in:
parent
aada99abe3
commit
95c100a3d6
2 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ fn getposts{ ls | grep -e '^[0-9]+$' | sort -n | tail -$maxposts }
|
||||||
fn k{
|
fn k{
|
||||||
kmnt=`{echo $mnt | sed 's/\//\\\//g'}
|
kmnt=`{echo $mnt | sed 's/\//\\\//g'}
|
||||||
f $mnt/$* |
|
f $mnt/$* |
|
||||||
grep -v -e '\/([0-9]+(\/|$)|post$)' |
|
grep -v -e '\/([0-9]+|article|body|header|post|xover)$' |
|
||||||
sed 's/^'$"kmnt'\// g /g' |
|
sed 's/^'$"kmnt'\// g /g' |
|
||||||
sort
|
sort
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,9 +124,9 @@ Print the current message in quoted form, suitable for reply.
|
||||||
.IR nntpfs (4)
|
.IR nntpfs (4)
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
The list of available newsgroups offered by a given server
|
The list of available newsgroups offered by a given server
|
||||||
may run to many megabytes in size. This complicates
|
may be quite large. This complicates walking the list over
|
||||||
walking the list over a slow Internet connection, and renders
|
a slow Internet connection, and renders searching in real-time
|
||||||
searching all but infeasible.
|
all but infeasible.
|
||||||
.SH HISTORY
|
.SH HISTORY
|
||||||
.I Newt
|
.I Newt
|
||||||
first appeared in 9front (April, 2014).
|
first appeared in 9front (April, 2014).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue