Talk:Source (command)
Latest comment: 12 years ago by Elizium23 in topic What is meant here?
This redirect does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
The contents of the Source (command) page were merged into Dot (command) on 25 September 2019 and it now redirects there. For the contribution history and old versions of the merged article please see its history. |
Not only Tcl
editCurrently, this article states:
- Source is a Unix command that evaluates a file or resource as a Tcl script.
Imho, the source command is not limited to Tcl scripting. As an example, all Bourne-inherited shells include a source command [1]. --Abdull (talk) 15:14, 23 December 2010 (UTC)
- In the Bourne shell, the command is called '.' while it is called 'source' in the csh where the name originated. In a Tcl context it is not a "Unix command" but probably a Tcl builtin. Elizium23 (talk) 15:20, 23 December 2010 (UTC)
- With my limited insight, I believe that the tcl usage and the shell usage are unrelated. And thus right now, this article only serves to confuse. 213.165.179.229 (talk) 11:44, 7 July 2011 (UTC)
I just implemented the changes recommend above. C4dn (talk) 02:12, 12 April 2012 (UTC)
What is meant here?
editFrom this article's current version: Some bash scripts should be run using the source your-script syntax, e.g., if they contain a change directory (cd) command and the user intends that he be left in that directory after the script is complete, or the script file does not have the "execute" permission.
"Should be run with source your-script syntax" instead of which other syntax?
--Abdull (talk) 16:41, 14 July 2012 (UTC)
- I have attempted to clarify that sentence. The other syntax implied was the ordinary invocation of an executable as the first argument on the command line. Elizium23 (talk) 19:50, 14 July 2012 (UTC)