cheat / cheatsheets

Community-sourced cheatsheets
1.84k stars 344 forks source link

bash: refresh page: add here-doc example and parameter expansion examples #210

Closed EmilyGraceSeville7cf closed 1 year ago

EmilyGraceSeville7cf commented 1 year ago

closes #95

EmilyGraceSeville7cf commented 1 year ago

bash variables use curly braces, not angle brackets. For example echo ${variable}

Yeah, but it's not a bash syntax, it's placeholder syntax that used over bash syntax. :) I suggested to stick to shell syntax only to @chrisallenlane, but he declined this idea.

edgester commented 1 year ago

@EmilySeville7cfg Thanks for clarifying. I think the placeholder syntax is confusing in this case, but @chrisallenlane has the final word.

EmilyGraceSeville7cf commented 1 year ago

I am closing this PR to make project maintainer pay attention for it.