On Sun, 27 Feb 2005, Martin Pitt wrote:

> - 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

Are you even sure that works?

[EMAIL PROTECTED]:~$ echo "     " | grep '[     ]'
        
[EMAIL PROTECTED]:~$ echo "     " | grep '[\t]'
[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