Skip to main content
10 events
when toggle format what by license comment
Aug 7, 2024 at 9:56 comment added fozzybear Creating a new subshell just to avoid re-setting IFS seems counter-productive to me.
Mar 13, 2015 at 2:38 comment added mklement0 Re Besides I don't really believe you recover the old IFS fully: word splitting is not performed on the RHS of variable assignments (but quote removal is), so OLDIFS=$IFS and OLDIFS="$IFS" behave the same way.
Mar 11, 2014 at 1:16 comment added jeberle this is a really useful technique. i just used it for a cleaner shell join op: args=$(IFS='&'; echo "$*"). restoring IFS to $' \t\n' in a Bourne shell friendly manner is no mean feat.
Jul 9, 2013 at 2:46 review Suggested edits
Jul 9, 2013 at 2:53
S Apr 8, 2013 at 23:23 history suggested jnovack CC BY-SA 3.0
formatting
Apr 8, 2013 at 23:04 review Suggested edits
S Apr 8, 2013 at 23:23
S Apr 8, 2013 at 23:01 review Late answers
Apr 8, 2013 at 23:01
S Apr 8, 2013 at 23:01 review First posts
Apr 8, 2013 at 23:04
Apr 8, 2013 at 22:48 history edited Marek CC BY-SA 3.0
added 135 characters in body
Apr 8, 2013 at 22:42 history answered Marek CC BY-SA 3.0