I want to retrieve multiple strings between brackets. Here is the command I use for now:
grep '\[*\]' src/config/mail.ini
It returns me output like:
[GLOBAL]
[MAIL_1]
How could I get the result one by one? And, in this case, as two variables?