LISTSERV mailing list manager LISTSERV 16.5

Help for TEI-L Archives


TEI-L Archives

TEI-L Archives


TEI-L@LISTSERV.BROWN.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

TEI-L Home

TEI-L Home

TEI-L  August 2001

TEI-L August 2001

Subject:

Perlese regexp from emacs (was Re: XML version of ISO entity sets)

From:

Syd Bauman <[log in to unmask]>

Reply-To:

Syd Bauman <[log in to unmask]>

Date:

Wed, 1 Aug 2001 00:04:38 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (14 lines)

>  And fixing them via emacs regexes would be an interesting exercise
>  for Ingo. (I personally used Perl, of course, while still a True
>  Believer in character entities)

You can use Perl regular expression search and replace from GNU
Emacs, of course:

     C-x h       ; mark entire buffer
     C-u M-|     ; shell filter on region
     perl -pe's/search/replace/g;' RET

This does not have the advantage of interactivity -- you don't get
the chance to say yes or no to each change, it just changes them all.

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.BROWN.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager