On 3/13/19 5:46 AM, Pavel Raiskup wrote: > > Is there a gnulib/GNU-preferred way to do this, defined somewhere?
Not that I'm aware of. Opinions differ. I tend to agree more with Jim Meyering, and prefer a quoting style like this: save_IFS=$IFS for arg do IFS=$save_IFS [Some more code] done IFS=$save_IFS to the "quotier" style where each assignment's right hand side is surrounded by double-quotes. Although the style I prefer assumes a bit more expertise with shell syntax, in my experience the expertise is needed anyway. I wouldn't go through shell scripts and systematically change one style to another; life is too short.