Forrest logo
back to context overview

local

List of commands for local:

  • local:tldr:381e7 local: Declare an array variable with the specified value.
    $ local ${variable}=(${item_a item_b item_c})
    try on your machine
    explain this command
  • local:tldr:3d374 local: Declare a readonly variable with the specified value.
    $ local -r ${variable}="${value}"
    try on your machine
    explain this command
  • local:tldr:41fc8 local: Declare an associative array variable with the specified value.
    $ local -A ${variable}=(${[key_a]=item_a [key_b]=item_b [key_c]=item_c})
    try on your machine
    explain this command
  • local:tldr:67d62 local: Declare an integer variable with the specified value.
    $ local -i ${variable}="${value}"
    try on your machine
    explain this command
  • local:tldr:7cde9 local: Declare a string variable with the specified value.
    $ local ${variable}="${value}"
    try on your machine
    explain this command
back to context overview