summaryrefslogtreecommitdiff
path: root/rc/bin/newt
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2017-06-04 18:02:05 -0400
committerstanley lieber <stanley.lieber@gmail.com>2017-06-04 18:02:05 -0400
commit84d8e75a589868e060b2d418eae38caaad91ad5a (patch)
tree207b8e2b4ecdd5993b0e6c9c36b7a43bb3ff0474 /rc/bin/newt
parent94e26e7576fabcaacd8fa8f75c4f87f9eb6e56f3 (diff)
downloadplan9front-84d8e75a589868e060b2d418eae38caaad91ad5a.tar.xz
newt: pipe output of h comnmand through $pager
Diffstat (limited to 'rc/bin/newt')
-rwxr-xr-xrc/bin/newt6
1 files changed, 4 insertions, 2 deletions
diff --git a/rc/bin/newt b/rc/bin/newt
index 2574e38b3..a79a0e796 100755
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -254,8 +254,10 @@ while(){
if not
echo !$ngroup does not exist
case h
- for(i in $r)
- h $i
+ {
+ for(i in $r)
+ h $i
+ } | eval $pager
post=$r($#r)
prompt=$post
case help