I've just updated the Cygwin 32 and 64 bit version of sed to 4.2.2-2. This is an update of sed to use the latest regex implementation from gnulib, thus implementing "rational ranges" for non-C locales per the gnulib changes from 2012-12-30.
With sed 4.2.2-1 and earlier versions: $ LC_COLLATE=en_US.utf8 $ echo abcdeABCDE | sed -e 's/[B-D]/_/g' ab__eA___E With sed 4.2.2-2 (as on Fedora 18 and similar newer Linux distros): $ LC_COLLATE=en_US.utf8 $ echo abcdeABCDE | sed -e 's/[B-D]/_/g' abcdeA___E To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=3d3dyourdomain....@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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