FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 02-23-2010, 05:44 AM
Luca Berra
 
Default Remove incorrect quoting from pattern in lib/Makefile.in

On Tue, Feb 02, 2010 at 06:25:45PM +1100, neilb@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@comedia.it
Communication Media & Services S.r.l.
/"
/ ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 07:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org