OT: bash help

Dave Ihnat dihnat at dminet.com
Sun Jul 7 23:24:54 UTC 2013


Once, long ago--actually, on Sun, Jul 07, 2013 at 02:18:16PM CDT--Mike Wright (mike.wright at mailinator.com) said:
> exactly what I needed.  I'd never discovered IFS before

As you've discovered, it's quite useful to manipulate IFS.  Just a
suggestion, however.  In scripts where you modify IFS, do something like:

  IFSAVE=$IFS;
  ...do stuff...
  IFS=$IFSAVE

Depending on what you're doing to/with IFS, it can lead to confusion with
other commands if it's not as expected.

Cheers,
--
	Dave Ihnat
	dihnat at dminet.com


More information about the users mailing list