💾 Archived View for freeshell.de › tldr › declare.gmi captured on 2022-06-11 at 21:37:02. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Declare variables and give them attributes.
declare {variable}="{value}"
declare -i {variable}="{value}"
declare -a {variable}=({item_a item_b item_c})
declare -A {variable}=({[key_a]=item_a [key_b]=item_b [key_c]=item_c})
declare -r {variable}="{value}"
declare -g {variable}="{value}"
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).