Yup - me too. And a quick look at :h ! will show you how to pass through motions and line ranges to an external program.
The possibilities are ... well, not endless. But there are a lot of them.
If you enjoy doing this sort of thing, you should really take Acme out for a spin.
Saying "the possibilities are finite!" is more accurate but less fun.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.