but then there is also the possibility to bendchmark your script in order to find out what's faster on YOUR system. You will have to benchmark again if you change the system.
In general: I would go the second way and not rely on any external grep-command to exist. The problems with them are, as far as I can see:
In reply to Re: What is faster?
by Skeeve
in thread What is faster?
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |