Timeline for What is the function of "$[variable]" command? [closed]
Current License: CC BY-SA 3.0
Post Revisions
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 20, 2018 at 3:24 | history | edited | coding_ninza | CC BY-SA 3.0 |
deleted 80 characters in body
|
| Jan 18, 2018 at 12:29 | history | closed |
muru♦ waltinator Eric Carvalho MadMike David Foerster |
Needs details or clarity | |
| Jan 17, 2018 at 13:53 | answer | added | ravery | timeline score: 0 | |
| Jan 17, 2018 at 13:48 | review | Close votes | |||
| Jan 18, 2018 at 12:29 | |||||
| Jan 17, 2018 at 13:41 | comment | added | derHugo | Can you show us that cheat sheet you are talking about? | |
| Jan 17, 2018 at 13:34 | vote | accept | coding_ninza | ||
| Jan 17, 2018 at 13:33 | answer | added | sudodus | timeline score: 2 | |
| Jan 17, 2018 at 13:27 | comment | added | coding_ninza | I learned it from a cheat sheet it is written there as it is written in the question or nothing else | |
| Jan 17, 2018 at 13:25 | history | edited | Melebius | CC BY-SA 3.0 |
unrelated tags removed, grammar
|
| Jan 17, 2018 at 13:22 | comment | added | steeldriver |
In what context did you learn this? if you are referring to the bash shell, then $[expression] is a (deprecated) form of arithmetic evaluation, so $[variable] would be the simplest instance of that, with expresssion = variable. See for example Difference between let, expr and $[]. It sounds to me like what you actually saw was ${variable}
|
|
| Jan 17, 2018 at 13:13 | answer | added | TheComputerGeek010101001 | timeline score: -2 | |
| Jan 17, 2018 at 13:09 | history | asked | coding_ninza | CC BY-SA 3.0 |