spinix-hive/manpages/declare.txt

32 lines
1.2 KiB
Plaintext

DECLARE(1) User Commands DECLARE(1)
NAME
declare - declare one or more environment variables
SYNOPSIS
declare [-p] [-x] [name[=[value]]...]
DESCRIPTION
If no parameters are specified, export will print all of the
environment variables. If only the -p option is provided the variables
will be printed preceed by "declare -F ", where F will be x for
exported variables, and - for non-exported variables. If -x is
specified only the exported variables will be printed.
If one or more names is provided the variables will be declared. If
the name is followed by the "=" character the following value will be
assigned to the variable. If the -x option is specified before the
list of names the variables will be exported.
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 DECLARE(1)