unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* occur "^[^#]" gets next line too
@ 2003-10-08 20:49 Dan Jacobson
  2003-10-09  9:50 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Jacobson @ 2003-10-08 20:49 UTC (permalink / raw)


Well gosh, occur throws in the next line for free:
(occur "^[^#]" nil)
79 lines matching "^[^#]" in buffer options.
      9:
       :# Specify which DNS Servers the incoming Win95
     14:
       :# Specify which WINS Servers the incoming conn
$ nl -b a options
     7  # To quickly see what options are active in th
     8  #   egrep -v '#|^ *$' /etc/ppp/options
     9
    10  # Specify which DNS Servers the incoming Win95

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

end of thread, other threads:[~2003-10-10 16:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-08 20:49 occur "^[^#]" gets next line too Dan Jacobson
2003-10-09  9:50 ` Andreas Schwab
2003-10-09 22:58   ` Dan Jacobson
     [not found]   ` <mailman.1464.1065762573.21628.bug-gnu-emacs@gnu.org>
2003-10-10  8:15     ` Johan Bockgård
2003-10-10 16:04     ` Barry Margolin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).