ryandesign at macports.org
Wed Aug 18 11:07:26 PDT 2010
On Aug 18, 2010, at 13:03, Jasper Frumau wrote:
> On Wed, Aug 18, 2010 at 7:38 PM, Ryan Schmidt wrote:
>> ":q!" looks familiar as the command you would use to exit vi(m) without saving. Perhaps you somehow managed to insert that into your phpmyadmin config file, or another phpmyadmin file you edited. You could grep recursively in your document root for ":q!" and see what turns up.
> Good call. Not good at grep just yet. Tried:
> jaspersmbp:www jasper$ grep -r "q!"
> -bash: !": event not found
> jaspersmbp:www jasper$ grep -r 'q!'
> grep: warning: recursive search of stdin
> which did not work. Still playing with it...
I guess "!" has special meaning. You could try:
grep -r -- ':q!' .
(where "." is the directory you want to search)
More information about the macports-users