X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: bash in process regular expressions Date: Sun, 14 Jan 2007 00:48:51 -0000 Message-ID: <009d01c73775$c21e1080$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <45A96D56.7F112403@dessent.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 13 January 2007 23:38, Brian Dessent wrote: > Rodrigo Amestica wrote: > >> Hi, when I write a bash script using regular >> expressions something goes wrong with the single >> quotes that I do understand should surround the >> regular expression. The code I show below works okay >> when the single quotes are removed, but it does not as >> shown. For this example the single quotes are not >> really needed but is useful for showing my problem, my >> real script does need the single quotes because I'm >> trying to match several sub-expressions. > > Read the replies in this recent thread: > > > Brian But see also http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00064.html http://lists.gnu.org/archive/html/bug-bash/2006-10/msg00065.html cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/