29 Sep 2017

Bracketing operators in shell wiki

Some bracketing syntax commonly encountered in shell scripts

We have often encountered the following kinds of operators and I have seen people having difficulty in wrapping their head around these. This wiki only discusses the following operators or brackets (whatever)

  • (…)
  • $(…)
  • ((…))
  • […]
  • [[…]]
  • $var
  • ${…}

So lets get to them one by one.

  • (...) : This indicates a subshell

If you are a beginner and looking to get started, you might want to follow up this simple article, which takes you through make in short A short introduction to GNU make


Tags:
Visitors: visitor counter
Stats:
0 comments