racl101 + array + string   18

Parameter expansion [Bash Hackers Wiki]
Explains this pattern: ${MYSTRING#* } which for strings removes the first word from a string of words but in a string it pops and returns the first element from an array.
Guide  Array  Howto  manipulation  Tutorial  Removal  scripting  Bash  Shell  Wiki  String  ReferencE  Syntax  SUBSTRING 
december 2016 by racl101

Copy this bookmark: