This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

boxes.sh grep: Unmatched [ or [^ at egrep '[[:space]]'


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
-- 
Reini Urban
http://phpwiki.org/? ? ? ? ?? 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]