I've never seen underlining in an Ascii text file. You may have to reveal more.
In order to make the results of my sed filtering more visible, I would like, when I replace OLD with NEW to underline NEW. I'm using the tcsh shell. So, what I want is something like:
cat file | sed 's/OLD/NEW/g' | more
but I want NEW to be underlined. If you have an answer please give sufficient detail; i.e., please do not assume I know anything but basic sed. Thanks.