On 08/27/2010 04:20 PM, Joshua Lutes wrote: > On Fri, Aug 27, 2010 at 4:09 PM, Stuart Jansen <[email protected]> wrote: >> >> echo "Warning: Unstable frobnicator" \ >> | egrep -i --color '^(warning|error)' >> > > I was sort of hoping for something I could stick into a config file or > something that would work on all of the lines written to the terminal. > Anything like that? >
Maybe something like this? It would be pretty easy to write it into a function that you pass a word into echo -e '\e[1;31m'"\033[1mWARNING\033[0m" -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
