[Bug] rebaseall

Achim Gratz Stromeko@NexGo.DE
Thu May 3 06:14:00 GMT 2012


In rebaseall a small bug hides in plain sight (the question mark is a literal in
sed regular expressions and needs to be prepended with a backslash to become
"special"):

-----8<---------->8-----
*** c:/Programs/Cygwin/bin/rebaseall.orig	Tue Mar 27 01:51:06 2012
--- c:/Programs/Cygwin/bin/rebaseall	Thu May  3 08:01:47 2012
***************
*** 210,216 ****
        find $f -type f |
          grep -E "\.($Suffixes)\$" |
  	sed -e '/msys-1\.0.*\.dll$/d' -e '/cygwin1\.dll$/d' \
! 	    -e '/cyglsa.*\.dll$/d' -e '/d?ash\.exe$/d' \
  	    -e '/rebase\.exe$/d' >>"$TmpFile"
      done
      ;;
--- 210,216 ----
        find $f -type f |
          grep -E "\.($Suffixes)\$" |
  	sed -e '/msys-1\.0.*\.dll$/d' -e '/cygwin1\.dll$/d' \
! 	    -e '/cyglsa.*\.dll$/d' -e '/d\?ash\.exe$/d' \
  	    -e '/rebase\.exe$/d' >>"$TmpFile"
      done
      ;;
-----8<---------->8-----



Regards,
Achim.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list