This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
problem with '^' as first char in BRE for expr
- To: cygwin at sourceware dot cygnus dot com
- Subject: problem with '^' as first char in BRE for expr
- From: Helmut Dipper <helmut dot dipper at sicad dot de>
- Date: Wed, 08 Nov 2000 15:54:22 +0100
- Organization: SICAD Utilities
I use bash and fileutils from the latest distribution
on Windows-NT 4.0 SP5.
expr 'abc' : '^a\(.\)c$'
delivers:
expr: warning: unportable BRE: `^a\(.\)c$': using `^' as the first
character
of the basic regular expression is not portable; it is being ignored
Question:
I think the character '^' in a BRE is not irrelevant,
why is it ignored?
Regards
Helmut Dipper
--
Helmut Dipper | SICAD Utilities GmbH
phone: +49 89 636 41558 | Otto-Hahn-Ring 6
___fax: +49 89 636 49613 | D-81730 Muenchen
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com