Highlight function with grep
It’s been a while since I have been blogging, so I will have to start fresh. I recently came across this gem which defines a bash function named “highlight” which will highlight the first argument in all subsequent files. if only 1 argument is given, it expects console input for highlighting. /usr/local/bin/highlight #!/bin/bash highlight() { …