Bash: Added function to pipe into emacs