Skip to main content
6 events
when toggle format what by license comment
Jun 4, 2016 at 7:57 comment added dave_thompson_085 @Scott negative-subscript-from-end is a newish feature; in my 4.3.11+ on Ubuntu /usr/share/doc/bash/NEWS.gz lists it as a change in 4.3 from 4.2.
Jun 4, 2016 at 6:16 history edited DopeGhoti CC BY-SA 3.0
deleted 155 characters in body
Jun 4, 2016 at 6:15 comment added DopeGhoti I didn't notice the octothorpe in the ${#Info[@]} construct. And I just tested ${array[-1]} in bash and it worked? See hastebin.com/umedapaqoy.sh
Jun 4, 2016 at 6:10 comment added Scott - Слава Україні @DopeGhoti: Um, what?  ${#Info[@]} is the number of elements in Info.  And ${Info[-1]} doesn't work in bash.
Jun 4, 2016 at 6:05 comment added Our Even with this I still taking the first [0] element of $Info
Jun 4, 2016 at 5:22 history answered DopeGhoti CC BY-SA 3.0