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]

Re: Nano syntax files


2009/1/18 Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>:
> -----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/
>
>

Hello Yakoov,

That I applied the new command (diff -u), the file syntax.nanorc.patch
is now join ;-)

Excuse me for my English, I am of French origin.

Bye

Attachment: syntax.nanorc.patch
Description: Text document

--
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/

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