a few minor patches

Here's a few minor patches:

* Allow any number of -e and -f options
* Make "-f -" work
* Update .gitignore