4 ms·
This seems to work, (ps -ef)().map((a)=>{return [a[0],a[7]]}).forEach((a)=>{console.log(a)})
by _iostreamer_ 10y ago
This seems to work, (ps -ef)().map((a)=>{return [a[0],a[7]]}).forEach((a)=>{console.log(a)})
- Klathmon 10y agoAh, 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...
- _iostreamer_ 10y agoI am sorry, it slipped from my mind. I will add it now.
- dc2 10y agoJust a note, _iostreamer_, you can use `command.parse` in Vorpal to pre-append parens to every command before it's evaluated (your project is written in Vorpal). BTW, love this idea. - the Vorpal guy