MiniShell is a minimalistic shell interpreter, supporting features like basic command execution, environment variable handling, command chaining, redirections, pipes, subshells, and here documents.
MIT License
25
stars
3
forks
source link
[STYLE] Rename "bracket" to "parentheses" in code #362
All of them mean something different for bash ofc.
In bash's documentation they use the same terminology.
Leaving it as it is with bracket is confusing when going through the code and you start to wonder if we handle [ ], which we don't.
I guess you can name all of them brackets, but since we have support for both parentheses ( ) and braces { }, using the term in a general way is just not very clear.
( )
[ ]
{ }
All of them mean something different for bash ofc. In bash's documentation they use the same terminology.
Leaving it as it is with bracket is confusing when going through the code and you start to wonder if we handle
[ ]
, which we don't.I guess you can name all of them brackets, but since we have support for both parentheses
( )
and braces{ }
, using the term in a general way is just not very clear.