Pragmatic directives: Difference between revisions

Content deleted Content added
→‎{{header|Perl}}: Add Python __future__
Line 56: Line 56:
>>> </lang>
>>> </lang>


=={{header|UNIX Shell}}==

;List of pragmatic directives:

* -v output the script line before it is executed
* -x output the command line arguments

;Utilization:

Pragmatic directives remain effective, until they are deactivated, or the end of the script is reached:

<lang sh>set -vx # Activate both script line output and command line arguments pragma
set +vx # Deactivate both pragmatic directives</lang>


{{omit from|Tcl}}
{{omit from|Tcl}}