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{
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue