I use vim for bash scripting, and sometimes I write a one-time script. Usually, I don't want to create a new file, make it executable, execute it and then remove it.
For instance I open vim and type this:
ll | while read line
I did not save this file, I just use vim to simplify bash-scripting. I know I can execute a bash command via
! in vim. But what about executing everything that is in the buffer?