EXPR(1) - General Commands Manual # EXPR(1) - General Commands Manual
NAME # expr - evaluate expression
SYNOPSIS # expr expression …
DESCRIPTION # The expr utility evaluates each expression and writes the result on standard output. All operators are separate arguments to the expr utility. Characters special to the command interpreter must be escaped.
Operators are listed below in order of increasing precedence. Operators with equal precedence are grouped within { } symbols.
...
Test(3p) Perl Programmers Reference Guide Test(3p) # Test(3p) Perl Programmers Reference Guide Test(3p)
NNAAMMEE # Test - provides a simple framework for writing test scripts SSYYNNOOPPSSIISS # use strict; use Test; # use a BEGIN block so we print our plan before MyModule is loaded BEGIN { plan tests => 14, todo => [3,4] } # load your module... use MyModule; # Helpful notes. All note-lines must start with a "#".
...
TTY(1) - General Commands Manual # TTY(1) - General Commands Manual
NAME # tty - return user’s terminal name
SYNOPSIS # tty [-s]
DESCRIPTION # The tty utility writes the name of the terminal attached to standard input to standard output. The name that is written is the string returned by ttyname(3).
If the standard input is not a terminal, the message “not a tty” is written.
The options are as follows:
...