unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* deleting  blank lines
@ 2005-08-21 23:48 Masrur Hossain
  2005-08-22  0:08 ` Michael Cadilhac
  2005-08-22  0:08 ` Henrik Enberg
  0 siblings, 2 replies; 3+ messages in thread
From: Masrur Hossain @ 2005-08-21 23:48 UTC (permalink / raw)


HI guys
        One program gives me parameter values as output values separated 
by blank lines.
while I  use "M-x replace-string" to replace parameter names , to delete 
the blank lines I go on using "C-k" to delete the blank lines.

Wondering how we can kill all blank lines at a time .


thanks in advance


Masrur

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: deleting  blank lines
  2005-08-21 23:48 deleting blank lines Masrur Hossain
@ 2005-08-22  0:08 ` Michael Cadilhac
  2005-08-22  0:08 ` Henrik Enberg
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Cadilhac @ 2005-08-22  0:08 UTC (permalink / raw)
  Cc: help-gnu-emacs

Masrur Hossain <masrur@invl.com> writes:

> HI guys
>         One program gives me parameter values as output values
>         separated by blank lines.
> while I  use "M-x replace-string" to replace parameter names , to
> delete the blank lines I go on using "C-k" to delete the blank lines.
>
> Wondering how we can kill all blank lines at a time .
>
> thanks in advance

  M-x replace-regexp RET ^C-q C-j RET RET  for example.

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |  Please note that you should
  2 rue de la Convention | 01.46.70.90.75 |  s/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: deleting  blank lines
  2005-08-21 23:48 deleting blank lines Masrur Hossain
  2005-08-22  0:08 ` Michael Cadilhac
@ 2005-08-22  0:08 ` Henrik Enberg
  1 sibling, 0 replies; 3+ messages in thread
From: Henrik Enberg @ 2005-08-22  0:08 UTC (permalink / raw)


> From: Masrur Hossain <masrur@invl.com>
> Date: Sun, 21 Aug 2005 23:48:26 GMT
> 
> HI guys
>         One program gives me parameter values as output values separated 
> by blank lines.
> while I  use "M-x replace-string" to replace parameter names , to delete 
> the blank lines I go on using "C-k" to delete the blank lines.
> 
> Wondering how we can kill all blank lines at a time .

M-x flush-lines RET ^\s-*$ RET

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-22  0:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-21 23:48 deleting blank lines Masrur Hossain
2005-08-22  0:08 ` Michael Cadilhac
2005-08-22  0:08 ` Henrik Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).