Re: Where is the code for this page?

From: Date: Fri, 19 Aug 2011 01:59:59 +0000
Subject: Re: Where is the code for this page?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-314562@lists.php.net to get a copy of this message
On Aug 18, 2011, at 3:17 PM, Daniel Brown wrote:
On Thu, Aug 18, 2011 at 16:13, Dotan Cohen <dotancohen@gmail.com> wrote:
2) I learned a new trick today! Grep this/that syntax: cat .htaccess | grep "RewriteCond\|RewriteRule" That's a backslash-pipe double operator in there. Easy to remember: they're both on the same key.
Depending on your keyboard layout, yes. ;-P If you like operators with your grep, try grepping on steroids by using egrep (man egrep).
If you *really* like operators with your grep, try pcregrep :)

« previous php.general (#314562) next »