X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4972A5AE.207@users.sourceforge.net> Date: Sat, 17 Jan 2009 21:44:46 -0600 From: "Yaakov (Cygwin/X)" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Nano syntax files References: <14b028c20901171818t245ccb85i61afa53a3902527c AT mail DOT gmail DOT com> In-Reply-To: <14b028c20901171818t245ccb85i61afa53a3902527c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Vincent François wrote: > In wanting to use the syntax of the text editor NANO, I noticed a > problem. In the Cygwin, regular expressions \< and \> are not > recognized. In reading the man page (7 regex) I learned that he had > used respectively for [[:<:]] for \< and [[:>:]] for \>. > > I wrote this message to provide a patch to update the syntax files (*. > nanorc) available in the directory /usr/share/nano > > To apply the patch, perform the command: > $ patch -p0 -i syntax.nanorc.patch > > To reverse patch, perform the command: > $ patch -p0 -Ri syntax.nanorc.patch Nice work! For maximum benefit, could you do two things: 1) Make this a unified diff (with "diff -u") 2) Attach the patch rather than including it inline. I'll fix cygport.nanorc in cygport accordingly; I hope the nano maintainer will consider including this patch in a new release as well. Thanks! Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklypa4ACgkQpiWmPGlmQSODBQCgkN1wQNteVNUblpvU2WLGJgzM Ix4An3kLichVlHAiNrupH2QskJOc7ZYM =jWeR -----END PGP SIGNATURE----- -- 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/