PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] How many slashes?
Date: Friday, 14 Feb 2020, 22:40:50


    > Message Posted By: JK
    >
    > In strwrs, can we assume that a '/' character can only appear as either
    > the first or the penultimate character?

No.  For example,

  % echo ab/ | Hwk2/strwrs a/b/ x
  x

where a/b/ matches ab/ and replaces it by x.

--Stan-
PREV INDEX NEXT