Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)

B Equivalent Guardian Commands for OSS and UNIX Users
Table 16 provides a comparison of OSS and UNIX commands and similar or equivalent Guardian
commands. For each OSS and UNIX command, a description is provided; if a similar or equivalent
Guardian command exists, it is listed.
Table 16 Equivalent Guardian Commands for OSS and UNIX Users
Guardian Commands or TACL MacrosDescriptionOSS and UNIX Command
ALIAS in TACL library fileDefines or displays aliasesalias
Creates and maintains library archivesar
NETBATCHExecutes commands at a later timeat
Pattern scanning and processing
language
awk
#SET, #CHARFINDV, #CHARGETVReturns nondirectory portion of
pathname
basename
COMPUTEArbitrary-precision arithmetic
language
bc
TACLRuns jobs in backgroundbg
CCompiles standard C or C++
programs
c89 or c99
PERUSE, JOB, DELCancels line printer requestscancel
FUP DUP, FUP COPYConcatenates and prints filescat
VOLUMEChanges working directorycd
FUP GIVEChanges file group ownershipchgrp
FUP SECUREChanges file modeschmod
FUP GIVEChanges file ownerchown
FUP CHECKSUMWrites file checksums and sizescksum
COMPARECompares two filescmp
Selects or rejects lines common to two
files
comm
Executes a simple commandcommand
Compresses datacompress
FUP COPY, FUP DUPCopies filescp
TEDIT, SEARCH, WRITE (with line
range)
Splits files based on contentcsplit
Cuts out selected fields of each line of
a file
cut
TIME, SET TIMEWrites the date and timedate
COMPARECompares two filesdiff
#SET, #CHARFINDV, #CHARGETVReturns directory portion of a
pathname
dirname
#OUTPUTWrites arguments to standard outputecho
EDITText editored
201