Jump to content

Cheatsheet/TACL: Difference between revisions

From wikiNonStop
Content deleted Content added
No edit summary
No edit summary
Line 220: Line 220:
| '''{{kbd|'<>'}}''' or '''{{kbd|'!<>'}}''' || Not Equal to || String Comparison
| '''{{kbd|'<>'}}''' or '''{{kbd|'!<>'}}''' || Not Equal to || String Comparison
|}
|}
<references/>


see also:
==see also:==
<categorytree namespaces="Category" mode="pages">Cheatsheets</categorytree>
<categorytree mode="pages">Cheatsheets</categorytree>
categories follow


<includeonly>[[Category:Cheatsheets]]</includeonly>

[[Category:Cheatsheets]]

Revision as of 11:02, 5 May 2026

Tacl Cheatsheet

Commands

some often used TACL Commands
Command cmd PowerShell Description
! +↵ Enter +↵ Enter +↵ Enter Reexecute previous command
? Display previous command
FC N/A N/A N/A Display previous command for modifying
HISTORY history doskey /h history Display list of previously issued command lines
ENV env env env Display environment
EOF! CTRL+y env env Stop execution of command or tool
EXIT exit CTRL+c CTRL+c Stop execution of command or tool
FILES ls dir /B ls -Name List files in current directory
FILEINFO ls -lisa dir ls List details for files in current directory
HELP man help help Help
LOGON logon logon logon Logon
PASSWORD passwd passwd passwd Set or change password
PMSEARCH echo "$PATH" set path $env:path Display paths to be searched for executables or macros
SETPROMPT ALL PS1='\h(\u)\W>' prompt $p$g N/A Set promptline's prefix
STATUS ps tasklist Get-Process Display status of running processes
STOP kill taskkill Stop-Process Stop running process
VOLUME cd cd cd Changes your current volume and/or subvolume
WHO whoami whoami whoami Display info for user

Tools

Often used Tools
Command cmd PowerShell Description
SYSINFO cat /etc/*-release systeminfo systeminfo Lists operating system version and some hardware details
EDIT N/A N/A N/A Text Editor (linemode)
FUP N/A N/A N/A File Utility Program
PATHCOM N/A N/A N/A Pathway Command Interface
PERUSE N/A N/A N/A Spooler Interface
SCF N/A N/A N/A Subsystem Control Facility
SCUP N/A N/A N/A Screen Cobol Utility Progrem
SPOOLCOM N/A N/A N/A Spooler Interface
SQLCI N/A N/A N/A SQL Command Interface
TEDIT nano edit edit Text Editor (blockmode)
TMFCOM N/A N/A N/A TMF Command interface
VIEWPT N/A N/A N/A Display logged messages

Meta Characters

Meta Characters
Character verbal Names Description
* Example Example Any Character(s)
? Example Example One Character
== Double equal signs Specifies a comment from the equal signs to EOL
[ ] Square brackets Cause TACL to expand the enclosed text
{ } Pair of braces Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
| | Pair of vertical lines Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
~ Tilde Changes the interpretation of the next character (or in the case of double equal signs two characters)

Separators

Separators
Character verbal Names Description
space bar Space
, Comma
( Left Parenthesis
) Right Parenthesis
/ Slash
; Semicolon
↵ Enter carriage return Physical EOL
~; Tilde Semicolon Logical EOL
& Ampersand An ampersand & at the end of a line of TACL commands or function calls signals that the line continues on the next physical line. This continuation applies to executable statements and comments, with two exceptions:
  • TACL does not interpret data transmitted by a process or file opened using #REQUESTER or #SERVER; any special characters are treated as text. If you receive a line that contains an ampersand, TACL does not view the ampersand as a continuation character.
  • You cannot use the continuation character with a TACL directive (a line beginning with a question mark).

Wildcards

Wildcards
Header text Header text Header text
? Matches any single character Example
* Matches any number of characters, including none Example
=* or ** Matches any number of characters for Definenames Example

Operators

Operators
Op Name Type
NOT NOT Logical
AND AND Logical
OR OR Logical
* Multiplication Arithmetic
/ Division Arithmetic
+ Addition Arithmetic
- Subtraction Arithmetic
> Greater then Arithmetic Comparison
< Less then Arithmetic Comparison
>= Greater then or Equal Arithmetic Comparison
<= Less then or Equal Arithmetic Comparison
= Equal to Arithmetic Comparison
<> Not Equal Arithmetic Comparison
'+' Concatenation String
'>' or '!>' Greater then String Comparison
'<' or '!<' Less then String Comparison
'>=' or '!>=' Greater then or Equal String Comparison
'<=' or '!<=' Less then or Equal String Comparison
'=' or '!' Equal to String Comparison
'<>' or '!<>' Not Equal to String Comparison

see also: