newt: remove fn f, replace with walk
This commit is contained in:
parent
ac5a8ea1e2
commit
72868594c7
1 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ fn e{
|
||||||
if(~ $yn y)
|
if(~ $yn y)
|
||||||
cat /tmp/post >$mnt/$group/post
|
cat /tmp/post >$mnt/$group/post
|
||||||
}
|
}
|
||||||
fn f { du -a $* | sed 's/^.* //g' }
|
|
||||||
fn fmtd{
|
fn fmtd{
|
||||||
date=`{cat}
|
date=`{cat}
|
||||||
if(! ~ $date(1) [0-9]*)
|
if(! ~ $date(1) [0-9]*)
|
||||||
|
@ -96,7 +95,7 @@ fn getr{
|
||||||
fn h{ sed -n $1^p /tmp/h }
|
fn h{ sed -n $1^p /tmp/h }
|
||||||
fn k{
|
fn k{
|
||||||
kmnt=`{echo $mnt | sed 's/\//\\\//g'}
|
kmnt=`{echo $mnt | sed 's/\//\\\//g'}
|
||||||
f $mnt/$* |
|
walk $mnt/$* |
|
||||||
grep -v -e '\/([0-9]+|article|body|header|post|xover)$' |
|
grep -v -e '\/([0-9]+|article|body|header|post|xover)$' |
|
||||||
sed 's/^'$"kmnt'\// g /g' |
|
sed 's/^'$"kmnt'\// g /g' |
|
||||||
sort |
|
sort |
|
||||||
|
|
Loading…
Reference in a new issue