Another bash scripting problem...
mathbymath at aol.com
Tue Jun 21 02:04:46 UTC 2005
On Jun 20, 2005, at 9:43 PM, Byron Saltysiak wrote:
> I believe the 'do' needs to be in the first line of the for loop:
> for ...
viola!! This worked! Thank you :).
> one question though - what is this supposed to do? I can probably give
> you a cleaner script if I knew what you were doing.
It is supposed to source all of the files in a directory.
However, it needs to make sure of a few things. It needs to own
~/.profile_sections, and it shouldn't recurse into sub-directories.
Anyway, I am fine now. I think I am starting to get the hang of this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users