Timeline for bash: Some issue when using read <<<"$VARIABLE" on a read-only root partition. Any known workarounds?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 3, 2013 at 0:13 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 | added 61 characters in body |
| Nov 3, 2013 at 0:02 | comment | added | xae | You are right, as you show parameter expansion is tricky bussines... | |
| Nov 2, 2013 at 23:33 | comment | added | gniourf_gniourf | or even without IFS, if you're sure there are no spaces in $HostFull as so: Hosts=( ${HostFull//:/ } ). Or even if there are spaces: HostMain=${HostFull%%:*}; HostMid=${HostFull#*:}; HostSub=${HostMid#*:}; HostMid=${HostMid%:*} (or something similar, I'm getting confused :D). | |
| Nov 2, 2013 at 23:26 | review | First posts | |||
| Nov 2, 2013 at 23:43 | |||||
| Nov 2, 2013 at 23:06 | history | answered | xae | CC BY-SA 3.0 |