Another bash scripting problem...
byronsalty at gmail.com
Tue Jun 21 01:43:33 UTC 2005
I believe the 'do' needs to be in the first line of the for loop:
one question though - what is this supposed to do? I can probably give
you a cleaner script if I knew what you were doing.
On 6/20/05, Matthew S-H <mathbymath at aol.com> wrote:
> Here is the code:
> if test -O ~/.profile_sections;
> for file in ~/.profile_sections/*;
> if test ! -d $file;
> do source $file;
> Why doesn't this work?
> Anyone with any help mould be appreciated.
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
More information about the ubuntu-users