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

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

Re: How to rename files to numbers in Eshell?


From: Emanuel Berg
Subject: Re: How to rename files to numbers in Eshell?
Date: Sun, 26 Sep 2021 04:50:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> When personal Emacs environment develops than it becomes
> rather tedious to do it in Bash when there are many prepared
> and ready functions from Emacs Lisp.

Work in Bash does not rely on functions the way functional
programming does, instead it relies on shell tools that aren't
part of Bash, e.g. the GNU toolchain.

Now, with so many people using Bash and other even more
feature-rich shells (where "save a fork" has been a focus of
development) there should be enough functions even compared to
what you find in Lisp.

Lisp is a fringe/underground language while every and any kid
with a Linux box uses the shell.

> I would use any program if it satisfies the purpose.

But some people actually think first what tool(s) are suited
for a particular task. Again, you _can_ hit a nail with the
flip side of an axe. However that doesn't make it a smart
thing to do! And if you rely on that in general you'll be the
laughing stock of the wood shop/carpentry ...

> If you don't rely, then don't, otherwise Bash script can be
> developed very similar to Emacs lisp with a lot of
> reusable functions.

Of course you can reuse shell scripts and functions ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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