Timeline for How to convert a String into Array in shell script
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 8, 2022 at 7:03 | comment | added | Stéphane Chazelas | @G-Man, that's up to you. Another common approach is to set IFS every time you use the split+glob operator. Saving and restoring IFS reliably can also be very tricky. See also What's a safe and portable way to split a string in shell programming? | |
| Apr 7, 2022 at 23:02 | comment | added | G-Man Says 'Reinstate Monica' | Shouldn’t you save a backup copy of IFS and restore it after you’re done? | |
| Oct 3, 2017 at 14:37 | history | answered | Stéphane Chazelas | CC BY-SA 3.0 |