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 /rc | |
parent | aada99abe3a83d50c25b307657204bd997139859 (diff) | |
download | plan9front-95c100a3d697914c94e65ccecd1426a4f94000b0.tar.xz |
newt: clean up regexp
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/newt | 2 |
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 } |