On Wed, Jun 29, 2011 at 1:52 PM, Bryce Stenberg <[email protected]> wrote:
> When I run it I get to keep the first 5 - only removed 1st character so
> following match on 4 char pattern is correct, when add 1st char back at
> beginning that gives you the first 5 kept.

Ah, but Glenn's original problem statement was "keep first 5 chars,
then append a Z to every fourth char thereafter, and keep the
leftovers too". Don't worry, because your solution *works* even though
the actual implementation didn't match the original requirements.

There isn't supposed to be an added Z until character position 10

-jim

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to