On Mon, 28 Mar 2005, Martin Michlmayr wrote:

> * Peter Palfrader <[EMAIL PROTECTED]> [2005-03-28 14:02]:
> > > - if grep -Eq '^[         ]*local[        ].*[    ]peer[  ]' 
> > > /etc/postgresql/pg_hba.conf
> > > + if grep -qs '^[\t ]*local[\t ]\+\w\+[\t ]\+peer[\t ]*' 
> > > /etc/postgresql/pg_hba.conf
> note the space:        ^
> > Are you even sure that works?
> > 
> > [EMAIL PROTECTED]:~$ echo " " | grep '[\t]'
                           ^ that is a tab
> > [EMAIL PROTECTED]:~$ 
> 
> 3948:[EMAIL PROTECTED]: ~] echo " " | grep '[\t ]'
                                 ^ this isn't.
> 
> 3949:[EMAIL PROTECTED]: ~]

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to