4 ms·
> Awk '{ print $2 }' does LWSP gobbling That's like answering "why use Haskell?" with "Because its monads are monoids in the category of endofunctors"
by skrebbel 7y ago
> Awk '{ print $2 }' does LWSP gobbling
That's like answering "why use Haskell?" with "Because its monads are monoids in the category of endofunctors"
- ggm 7y agoThis made me very happy, since it goes to the 'you can either use awk or explain awk but not both' problem which is definitional in monads in Haskell. I thought LWSP was a thing. I forgot not everything is a thing. And gobbling is maybe very jargon ish. Python sys.stdin.rstrip().split() comes to mind.