On Sat, 2005-04-09 at 14:08 +0530, Vignesh Waran wrote:
> There is a 'C' program which has many blank lines in it,
> how to remove all the blank lines with query-replace in emacs ?
M-x flush-lines RET ^$
flush-lines deletes all lines that matches the regular expression. and
the reg exp ^$ matches empty lines ie lines with only RET.
BTW what is the regexp to match a blank line?
~vimal
--
Free as in Freedom <www.gnu.org>
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com