diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2017-06-04 18:02:05 -0400 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2017-06-04 18:02:05 -0400 |
commit | 84d8e75a589868e060b2d418eae38caaad91ad5a (patch) | |
tree | 207b8e2b4ecdd5993b0e6c9c36b7a43bb3ff0474 /rc/bin/newt | |
parent | 94e26e7576fabcaacd8fa8f75c4f87f9eb6e56f3 (diff) | |
download | plan9front-84d8e75a589868e060b2d418eae38caaad91ad5a.tar.xz |
newt: pipe output of h comnmand through $pager
Diffstat (limited to 'rc/bin/newt')
-rwxr-xr-x | rc/bin/newt | 6 |
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 |