Anyone know how you go about quantifying the end of line or carriage return mark in regexp?
In vi, I am trying to do a global replace of characters (xxx, for example) with a line carriage and don't know what to put in the replacement part....so far, I have:
:g/xxx/s//LINE_CARRIAGE/g
anyone?
Want to use this in my grep too....so that I can get rid of all the blank lines
In vi, I am trying to do a global replace of characters (xxx, for example) with a line carriage and don't know what to put in the replacement part....so far, I have:
:g/xxx/s//LINE_CARRIAGE/g
anyone?
Want to use this in my grep too....so that I can get rid of all the blank lines