[CentOS] Need fstab-decode for CentOS 8

Wed Mar 2 01:07:34 UTC 2022
Gordon Messmer <gordon.messmer at gmail.com>

On 3/1/22 15:36, Robert Nichols wrote:
>> "${cmdline[@]}"
>
> The problem there is that the last line is going to get interpreted by 
> a shell before anything is executed, so you now have to escape 
> characters that are special to the shell within a quoted string. This 
> is unlike the compiled fstab-decode program that invokes the execvp() 
> library call and avoids further shell parsing.


Does it, though?

$ bash fstab-decode.sh echo '$PATH'
$PATH
$ bash fstab-decode.sh ls '*'
ls: cannot access '*': No such file or directory