in reply to Re^2: Repeated substitution on 1 side of a line only
in thread Repeated substitution on 1 side of a line only
The for-loop is just for the purpose of showing an example with various strings. Concentrate on the s/// and what it's doing — and in particular, see the update. No reason the s/// couldn't just be dropped into something like the one-liner you show in the OP.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Repeated substitution on 1 side of a line only
by dspivey (Initiate) on Dec 16, 2016 at 15:58 UTC |