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

Re: Proposing stable PostgreSQL bugfixes



* 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]'
> weasel@danube:~$ 

3948:tbm@deprecation: ~] echo " " | grep '[\t ]'

3949:tbm@deprecation: ~]
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: