* 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]'
> [EMAIL PROTECTED]:~$ 

3948:[EMAIL PROTECTED]: ~] echo " " | grep '[\t ]'

3949:[EMAIL PROTECTED]: ~]
-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to