Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't get a straight answer ANYWHERE about this question.

In BASH, you can include a 'partial' script and execute it inline in the rest of your bash script with the following syntax:


. ~/
# do stuff here 
# .
# . 
# .

The question is this: is this syntax in the POSIX standard, and if not, is there some syntax in the standard which accomplishes the same thing? Is there a link anyone can post showing where in the POSIX standard this syntax is defined (if applicable)?

share|improve this question
Here is the standard, look yourself: – Sven Mar 8 '12 at 21:01
up vote 2 down vote accepted

I just searched myself: The answer is yes, it's part of the standard.

share|improve this answer
thank you. I'm all for reading the manual. I just didn't know the directive was named 'dot' and therefore couldn't find the man page. I appreciate your pointing it out! – djhaskin987 Mar 8 '12 at 21:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.