PREV INDEX NEXT

Author: Unknown
Subject: strwrs -Rn example in spec
Date: Tuesday, 18 Feb 2020, 19:26:47

Hello!
In the HW3 spec, you write:

  strwrs -Sn  aa a  abb aab   "aaabbb"   "aabbb", "abbb" ...

The second iteration begins by looking at the first character of the replacement string, which is not what the -n flag is supposed to be doing. I'm a bit confused about how this works out. You assumed the -n flag begins looking at the character immediately preceding the replacement string.

Thank you!
PREV INDEX NEXT