[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete whitespace lines with replace-regexp
From: |
Peter Dyballa |
Subject: |
Re: delete whitespace lines with replace-regexp |
Date: |
Thu, 12 Jul 2007 17:08:40 +0200 |
Am 12.07.2007 um 08:53 schrieb oliver:
what's wrong?
The $ is too much. I'd make it, old-fashioned, this way
M-x query-replace-regexp RET ^ [ SPC C-q TAB ] + C-q C-j RET RET
i.e.: change all lines starting with SPC or TAB and having only SPC
or TAB until the final linefeed with nothing.
--
Mit friedvollen Grüßen
Pete
Stau ist nur hinten blöd, vorne geht's!