summaryrefslogtreecommitdiff
path: root/rc/bin
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 /rc/bin
parentaada99abe3a83d50c25b307657204bd997139859 (diff)
downloadplan9front-95c100a3d697914c94e65ccecd1426a4f94000b0.tar.xz
newt: clean up regexp
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/newt2
1 files changed, 1 insertions, 1 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
}