Skip to main content
4 events
when toggle format what by license comment
Aug 30, 2024 at 19:45 comment added Wildcard This approach should never be used. See unix.stackexchange.com/q/169716/135943
Sep 18, 2015 at 16:17 comment added Mingye Wang Use IFS='' and read -r to prevent all kinds of escapes and trailing IFS removal from screwing it up. I think the bash mapfile ARRAY_NAME builtin is a better solution for reading into arrays though.
Jul 31, 2015 at 12:56 comment added don_crissti Try it with indented lines... philfr's version is a bit better but still veeeery slooooow so really, when it comes to text processing, never use while..read.
Jul 31, 2015 at 11:40 history answered FelixJN CC BY-SA 3.0