Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 371 Bytes

File metadata and controls

21 lines (13 loc) · 371 Bytes

Source with dot operator . not keyword source

Source a file by using the dot operator . not the word source

The operator reads and executes commands from a filename argument in the current shell context.

  • Using the dot operator . is POSIX compliant.

  • Using the keyword source isn't POSIX compliant.

Yes:

. foo

No:

source foo