Re: Arrays

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

 



Steven Penny wrote in <CAAXzdLXge2JC-167etpOmdAq8tUfh7SCiZUaA+wtcxUEW_QO\
Zw@xxxxxxxxxxxxxx>:
 |On Mon, May 27, 2019 at 11:08 AM Steffen Nurpmeso wrote:
 |> kre happily shared his code to quote from and to variables:
 |
 |Is this a joke? The issue is that Dash currently has no implementation for
 |arrays, not "how to quote variables". Why did you post this?
 |
 |Also, even if it did answer the question, why would I or anyone want \
 |to use 3
 |functions sprawled over 40 lines when Bash can do it with 1 line?

Actually only one.  Because that works on all shells i have
tested, even on SunOS 5.9 /bin/sh.  If you do not care about
portability why not use mksh or bash directly (in the shebang)?

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux