sharkdp / shell-functools

Functional programming tools for the shell
MIT License
1.19k stars 49 forks source link

Filter bugfix #28

Closed sharkdp closed 6 years ago

sharkdp commented 6 years ago

@vegarsti Just f.y.i.

sharkdp commented 6 years ago

@vegarsti By the way: due to TakeWhile inheriting from Filter, your changes also work for the take_while command:

> seq 100 | take_while --negate greater 4 
1
2
3
4
vegarsti commented 6 years ago

Thanks! I was a bit quick, discovered it now as well. And cool that it works for take_while as well!