[dm-devel] [dmraid 1/3] Remove incorrect quoting from pattern in lib/Makefile.in
Luca Berra
bluca at comedia.it
Tue Feb 23 06:44:21 UTC 2010
On Tue, Feb 02, 2010 at 06:25:45PM +1100, neilb at suse.de wrote:
>The
> [[ string =~ pattern ]]
>command in bash only treats unquoted characters in 'pattern'
>as being pattern characters. If they are quoted, they much match
>literally.
>
why all this bashism?
>- if [[ "$$n" =~ '.so$$' ]]; then \
posix would make it
if [ -z "$${n##*.so}" ] ; then \
--
Luca Berra -- bluca at comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
More information about the dm-devel
mailing list