Timeline for How to get this substring on bash script?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 15, 2016 at 9:33 | comment | added | heemayl | @mtraceur I know, that's just the muscle memory :) | |
| Oct 15, 2016 at 3:25 | comment | added | mtraceur | +1, but every one of those quotes except the very last pair is unnecessary and does nothing. Substitutions inside assignments (second and third line) are not subject to word splitting. And the first like doesn't have any whitespace in it. | |
| Oct 14, 2016 at 21:59 | comment | added | Aditya K | I like this answer more as you provided a pure bash solution as specified by the OP. | |
| Oct 14, 2016 at 17:34 | history | answered | heemayl | CC BY-SA 3.0 |