You can source any text file. It doesn't have to start with a period. However, the reason it doesn't work with a file called test is because "test" is a shell builtin command. Useful in if statements:
if test "$VAR" = "I" then ... fi , though normally, the [ command is used instead for the same purpose. Harry Putnam <[EMAIL PROTECTED]> writes: > "The Gyzmo" <[EMAIL PROTECTED]> writes: > Just put it in a file named test for now, to see what it does. > (remember to source what ever file you put it in) > source test > or > . test Sorry, the last part there is incorrect. It doesn't work if you put it in just any file. It has to be a dot file. A file who's name begins with `.' Try .test. Maybe someone here can explain why it doesn't work in a file named `test' but does in .test? _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
