:: Re: [DNG] [OT] bash / quote weirdne…
Top Page
Delete this message
Reply to this message
Author: Florian Zieboll
To: dng
Subject: Re: [DNG] [OT] bash / quote weirdness
On Tue, 11 Jan 2022 18:16:15 -0500
tempforever <dev1@???> wrote:

> I believe quoting $xcmd would instruct the shell to look for and
> execute "unrar x" so unless you have an executable file named unrar\
> x within $PATH, it will fail.  The same thing happens within a shell:
> ~$ "unrar x"
> bash: unrar x: command not found
> ~$

Hallo tempforever,

thank you for your quick and simple reply. Seems that I can go sleep
now :-)

The full script, an archive batch-extractor (zip and rar supported so
far) with absolutely no rights reserved, is attached.

libre Grüße,