Re:Awkward – A Node.js-based terminal emulator
by _iostreamer_ on Wednesday July 20, 2016 @10:26AM
(#12129221)
This seems to work, (ps -ef)().map((a)=>{return [a[0],a[7]]}).forEach((a)=>{console.log(a)})
Re:Awkward – A Node.js-based terminal emulator
by Klathmon on Wednesday July 20, 2016 @10:31AM
(#12129264)
Ah, put the whole command in parens!
It might make sense to put a note in the README about that, unless it's already there and I missed it somehow...
Re:Awkward – A Node.js-based terminal emulator
by _iostreamer_ on Wednesday July 20, 2016 @10:35AM
(#12129289)
I am sorry, it slipped from my mind. I will add it now.
For example, I use `ps -ef` a lot, how would I do that with this system?