Another bash scripting problem...

Matthew S-H mathbymath at aol.com
Tue Jun 21 01:23:50 UTC 2005


Here is the code:

---START---
if test -O ~/.profile_sections;
then
    for file in ~/.profile_sections/*;
       if test ! -d $file;
        then
          do source $file;
       fi
    done
fi
---END---

Why doesn't this work?


Anyone with any help mould be appreciated.

Thanks,
~Matt




More information about the ubuntu-users mailing list