help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: For text processing, which is more powerful, emacs or perl?


From: Jean Louis
Subject: Re: For text processing, which is more powerful, emacs or perl?
Date: Sat, 19 Dec 2020 12:00:50 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Hongyi Zhao <hongyi.zhao@gmail.com> [2020-12-19 10:44]:
> It's well known that perl's regexp is very powerful for its capability
> of text processing. So, which is more powerful, emacs or perl, in this
> scenario?

Well it is better to tell what you wish to achieve. What kind of text
do you wish to process?

I was doing many command line processing with Perl, importing data
with Perl, processing text, importing into databases, processing large
programs. It is more for command line processing and programmatic
processing.

Today I do those things with Emacs Lisp so I import CSV data, process
entries, insert into databases. I do not miss Perl today. Emacs Lisp
seem to me simpler now than Perl back then.

You may evaluate this function below:

(info "(elisp) Regular Expressions")

Then research regular expressions in Emacs.

With Emacs I can process in real time and by watching on screen what
is happening. I can undo the process if I made a mistake.

You may use any tools. Including you may combine tools.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]