problem creating bash loop through svn list output

Steve Flynn anothermindbomb at gmail.com
Tue Nov 25 17:59:11 UTC 2008


On Tue, Nov 25, 2008 at 5:47 PM, Preston Kutzner <shizzlecash at gmail.com> wrote:

> You might need to change your $IFS variable (internal field
> separator).  By default it is set to use whitespace as field
> separators.  This is fine if *NONE* of your filenames have spaces in
> them.  To be on the safe side, I would change your script to look like

I think (and it's a big think - I can only refer to this AIX box I'm
logged on to) that the default IFS is set to space tab newline , i.e.
\040\t\n

I presume this is the same for dash but ymmv.

-- 
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0




More information about the ubuntu-users mailing list