before. I usually usegrep $i=!$i,
grep $i^=$i,
Yours is easier to understand, though.
Update: Yeah, I mean grep $i^=1,.
In reply to Re^3: Split a string based on change of character
by ikegami
in thread Split a string based on change of character
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |