ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  VoIP and POTS Integration with Asterisk
Subject:   regex
Date:   2004-06-28 17:00:12
From:   ryanm
You could do:


grep -v "^;" extenstions.conf


to avoid the problem described with end of line comments.


^
is the regular expression matching the beginning of the line.