Web lists-archives.com

Re: pmount could perhaps be of greater utility?




On Mon, 6 May 2019 at 23:53, Erik Christiansen <dvalin@xxxxxxxxxxxxxxxx> wrote:
> On 06.05.19 09:03, Greg Wooledge wrote:
> > On Sat, May 04, 2019 at 01:48:01PM +0200, Jonas Smedegaard wrote:
> > > Quoting Erik Christiansen (2019-05-04 08:43:53)

> > > >      pmount $1 `e2label $1`

> > and is using the ancient deprecated command substitution syntax (which
> > will work in this case, but is not a good habit).

> That does appear to remain opinion. The venerably traditional syntax is
> still fully legal supported bash syntax, e.g.:
>
> http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03
>
> The recent (late last century, IIRC) introduction of the $(...)
> alternative syntax has admittedly brought newer *nix users who know
> nothing else, and so delude themselves that there is nothing else. That
> is a misapprehension. To each, his own, especially amongst adequately
> equivalent alternatives.

Hi Erik

Maybe you would enjoy answering this question then?
https://lists.gnu.org/archive/html/help-bash/2019-05/msg00000.html

Because apparently no-one else has, hehe :D