DOCUMENTATION
cast shl
NAME
cast-shl - Perform a left shifting operation.
SYNOPSIS
cast shl
[options] value shift
DESCRIPTION
Perform a left shifting operation.
OPTIONS
Base Options
--base-in
base
The base of the input number. Available options:
10, d, dec, decimal
16, h, hex, hexadecimal
--base-out
base
The desired base of the output. Available options:
2, b, bin, binary
8, o, oct, octal
10, d, dec, decimal
16, h, hex, hexadecimal
Common Options
-h
--help
Prints help information.
EXAMPLES
- Perform a 3 position left bit shift of the number 61
cast shl --base-in 10 61 3
Note: The --base-in parameter is not enforced but will be needed if the input is ambiguous.