X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Mon, 9 Aug 2010 11:05:12 +0200 Message-ID: Subject: boxes.sh grep: Unmatched [ or [^ at egrep '[[:space]]' From: Reini Urban To: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jaro, Our nice new setup found a problem in the boxes postinstall script: Package: boxes boxes.sh exit code 2 Package: No package boxes.sh exit code 2 cd /etc/postinstall $ ./boxes.sh grep: Unmatched [ or [^ in grep -E '^[^#]*/|^[[:space]]*$' /etc/preremove/boxes-manifest-from.lst and it is the [[:space]] part, which is broken. Per man grep it should work, but I don't know those specialities too well. $ grep --version GNU grep 2.6.3 --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- 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