summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2014-04-09 21:20:02 -0400
committerstanley lieber <stanley.lieber@gmail.com>2014-04-09 21:20:02 -0400
commita4d818eedbea608e3d5f1909250f0563ecde6076 (patch)
tree2d984299ababdc36105160fab70723a419bef1ea
parent44c94fbe072d49d693259523e251d179fdeee2e2 (diff)
downloadplan9front-a4d818eedbea608e3d5f1909250f0563ecde6076.tar.xz
newt: fix 'h' formatting
-rwxr-xr-xrc/bin/newt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/newt b/rc/bin/newt
index f394bfc75..d22f30129 100755
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -62,10 +62,10 @@ fn geth{
if(! ~ $#from 0){
date=`{awk -F ' ' '{print $4;}' $i/xover >[2]/dev/null | fmtd}
awk -v date'='$"date -v from'='$from(1) -F ' ' \
- '{print " " $1 " " date " " from " " substr($2,0,50);}' $i/xover >[2]/dev/null
+ '{print " " $1 " " date " " from " " substr($2,0,50);}' $i/xover >[2]/dev/null
}
if not
- echo ' '$"i' nil nil nil'
+ echo ' '$"i' nil nil nil'
}
}
fn getposts{ ls | grep -e '^[0-9]+$' | sort -n | tail -$maxposts }