Jump to content

Cheatsheet/TACL: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 13: Line 13:
| '''{{kbd|BUILTINS}}''' || typeset -F || || || Displays all TACL functions
| '''{{kbd|BUILTINS}}''' || typeset -F || || || Displays all TACL functions
|-
|-
| '''{{kbd|VARIABLES}} || typeset -F || || || Displays names of variables, macros and routines available for you
| '''{{kbd|VARIABLES}}'''|| typeset -F || || || Displays names of variables, macros and routines available for you
|-
|-
| '''{{kbd|FC}} || Example || doskey /h || || Retrieves, edits, and reexecutes lines in history
| '''{{kbd|FC}}''' || Example || doskey /h || || Retrieves, edits, and reexecutes lines in history
buffer. Works in many command line tools such as TACL, FUP or SCF
buffer. Works in many command line tools such as TACL, FUP or SCF
|-
|-
Line 28: Line 28:
{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
{| class="wikitable nowrap noresize" <!--style="white-space: nowrap;"-->
|+
|+
!TACL
! rowspan="2" |TACL
! rowspan="2" |Description
!*NIX
! colspan="3" |equvalent commands on
|-
!*NIX<ref>Bash</ref>
!WIN (cmd<ref>Command Interpreter (legacy)</ref>)
!WIN (cmd<ref>Command Interpreter (legacy)</ref>)
!WIN (PS<ref>Powershell</ref>)
!WIN (PS<ref>Powershell</ref>)
!Comment
|-
|-
|!
|!
|Reexecute a previous command line<ref>See Note 1</ref>
|{{key press|Up}} {{key press|Enter}}
|
|
|
|
|
|Reexecutes a previous command line<ref>See Note 1</ref>
|-
|-
|'''?'''
|'''?'''
|Display a previous command line<ref>See Note 2</ref>
|{{key press|Up}}
|
|
|
|
|
|Displays a previous command line<ref>See Note 2</ref>
|-
|-
|'''{{kbd|FC}}'''|||Retrieve lines for editing from a previous command line. Works in many interactive subsystems<ref>See Note 3</ref>
|'''{{kbd|FC}} '''
|Example
|Example
|doskey /h
|doskey /h
|
|
|Retrieve lines for editing from history buffer. Works in many interactive subsystems<ref>See Note 3</ref>
|-
|-
|'''<kbd>HISTORY</kbd>'''
|'''{{kbd|HISTORY}}'''
|Display list of previously issued command lines<ref>parameter <number> 1-99</ref>
|history
|history
|{{button|F7}}
|{{button|F7}}
|history
|history
|Displays list of previously issued command lines<ref>parameter <number> 1-99</ref>
|-
|-
|'''{{kbd|ENV}}'''
|'''{{kbd|ENV}}'''
|Displays settings of (TACL) environmental parameters
|env
|env
|set
|set
|gci env:*
|gci env:*
|Displays settings of (TACL) environmental parameters
|-
|-
|'''{{kbd|BUILTINS}}'''
|'''{{kbd|BUILTINS}}'''
|Displays all TACL functions
|typeset -F
|typeset -F
|help
|help
|Get-Command
|Get-Command
|Displays all TACL functions
|-
|-
|'''{{kbd|VARIABLES}} '''
|'''{{kbd|VARIABLES}}'''
|Displays names of available variables, macros and routines in your environment
|set -o posix
|set&nbsp;&hyphen;o&nbsp;posix
|
|
|
|
|Displays names of available variables, macros and routines in your environment
|}
|}