[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proposing stable PostgreSQL bugfixes



On Mon, 28 Mar 2005, Martin Michlmayr wrote:

> * Peter Palfrader <weasel@debian.org> [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?
> > 
> > weasel@danube:~$ echo "	" | grep '[\t]'
                           ^ that is a tab
> > weasel@danube:~$ 
> 
> 3948:tbm@deprecation: ~] echo " " | grep '[\t ]'
                                 ^ this isn't.
> 
> 3949:tbm@deprecation: ~]

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



Reply to: