Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Envelope-Sender-Is: helmut DOT dipper AT sicad DOT de (at relayer david.siemens.de) Message-ID: <3A09691E.795401B8@sicad.de> Date: Wed, 08 Nov 2000 15:54:22 +0100 From: Helmut Dipper Organization: SICAD Utilities X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.7 sun4m) X-Accept-Language: en,de MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: problem with '^' as first char in BRE for expr Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit 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 AT sourceware DOT cygnus DOT com