43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
|
LET(1) User Commands LET(1)
|
||
|
|
||
|
NAME
|
||
|
let - print a manual entry
|
||
|
|
||
|
SYNOPSIS
|
||
|
let name=val1[op1val2...]
|
||
|
|
||
|
DESCRIPTION
|
||
|
Sets the value of the named shell variable to the value of an
|
||
|
arithmetic expression. The arithmetic expression is evaluated from
|
||
|
left to right. The allowable operators are as follows:
|
||
|
|
||
|
>= - Greater than or equal
|
||
|
<= - Less than or equal
|
||
|
== - Equal
|
||
|
!= - Not equal
|
||
|
&& - Logical and
|
||
|
|| - Logical or
|
||
|
>> - Arithmetic shift right
|
||
|
<< - Shift left
|
||
|
+ - Add
|
||
|
- - Subtract
|
||
|
* - Multiply
|
||
|
/ - Divide
|
||
|
& - Bitwise and
|
||
|
| - Bitwise or
|
||
|
< - Less than
|
||
|
> - Greater than
|
||
|
% - Modulus
|
||
|
|
||
|
AUTHOR
|
||
|
Dave Hein
|
||
|
|
||
|
COPYRIGHT
|
||
|
Copyright (c) 2013, Dave Hein
|
||
|
MIT License (See license.txt in the root directory)
|
||
|
This is free software: you are free to change and redistribute it.
|
||
|
There is no warranty, to the extent permitted by law.
|
||
|
|
||
|
|
||
|
SPINIX utility March 2013 LET(1)
|