equal
deleted
inserted
replaced
51 ============= |
51 ============= |
52 |
52 |
53 http://wiki.bash-hackers.org/scripting/bashchanges |
53 http://wiki.bash-hackers.org/scripting/bashchanges |
54 This article is an incomplete overview of changes to Bash over the time. |
54 This article is an incomplete overview of changes to Bash over the time. |
55 |
55 |
|
56 Exploring values |
|
57 ================ |
56 |
58 |
|
59 Display all or specific variable declarations:: |
|
60 |
|
61 $ declare -p |
|
62 $ declare -p NAME1 NAME2 |
|
63 |
|
64 Display defined functions:: |
|
65 |
|
66 $ declare -F |
|
67 $ declare -F NAME1 NAME2 |
|
68 |
|
69 Display function body:: |
|
70 |
|
71 $ declare -f NAME |
|
72 |
|
73 |