bug-bash
[Top][All Lists]
Advanced

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

Where is the syntax of ${array[@]:1:2} described?


From: Peng Yu
Subject: Where is the syntax of ${array[@]:1:2} described?
Date: Thu, 8 Jul 2010 21:27:41 -0500

Hi,

array=(a b c)
echo ${array[@]:1:2}


I'm looking for the document for the above usage. I checked the Arrays
section of man bash, but I don't see a description of such usage. I
also searched man bash with [0-9]+:[0-9]+. But I still don't find a
description. Could anybody let me know where this is documented?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]