Another bash scripting problem...
Matthew S-H
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 ...
> do
> ...
> done
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.
~Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050620/c01fd114/attachment.html>
More information about the ubuntu-users
mailing list