www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.1 required=5.0 tests=BAYES_50,RCVD_IN_RP_RNBL,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | Reini Urban <rurban AT x-ray DOT at> |
Subject: | Re: boxes.sh grep: Unmatched [ or [^ at egrep '[[:space]]' |
MIME-Version: | 1.0 |
Date: | Mon, 09 Aug 2010 14:25:41 +0200 |
From: | =?UTF-8?Q?V=C3=A1clav_Haisman?= <v DOT haisman AT sh DOT cvut DOT cz> |
Cc: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
In-Reply-To: | <AANLkTikD+rtLR2Sbtg61g+2Fp-krcPeQRrHZg2O446cH@mail.gmail.com> |
References: | <AANLkTikD+rtLR2Sbtg61g+2Fp-krcPeQRrHZg2O446cH AT mail DOT gmail DOT com> |
Message-ID: | <7003ad33f44831dc8549bfdfe5703071@shell.sh.cvut.cz> |
X-Sender: | v DOT haisman AT sh DOT cvut DOT cz |
User-Agent: | RoundCube Webmail/0.4-beta |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, 9 Aug 2010 11:05:12 +0200, Reini Urban wrote: > 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. Should that not be '[[:space:]]'? Without the single quotes. -- VH -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |