On 09/26/2016 02:46 AM, Jan Beulich wrote:
>>>> On 23.09.16 at 21:14, <boris.ostrov...@oracle.com> wrote:
>> Changes in v6:
>> * Replaced script's printf in most case with "here document" (for multi-line
>>   text) or echo for single line. Left printf for formatted output.
>>   (Note that in one case paramter expansion is necessary and so
>>    delimiter word is intentionally not quoted).
>> * Replaced bash arrays with ${string:index:size} syntax.
> Without having looked at the patch in full yet - is this any more
> portable than the previous approach? I can't see any mention of
> it in SUSv6 / SUSv7 either.

I can't say for sure but I remember seeing this construct long time ago.

Of course, this being bash, there are at least 3 ways of doing the same
thing so I can also do

    link=`echo "A B C D" | cut  -d" " -f $i`

Will SUSv6 understand this? I don't have access to anything older than
fedora 13.


-boris



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to