I had always gotten into the habit of using {} with grep, that I did not think about dropping them.
This was one of the reasons I started this thread, was to gain some insight and learn a new approaches to make improvements to my code.
That was very useful bit of information, thanks!
In reply to Re^4: Battle Royal Grep vs For
by Herkum
in thread Battle Royal Grep vs For
by Herkum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |