note
jj808
I think that [Sigmund] is trying to use the <code>s</code> character as the delimeter in a substitution. Replacing this with <code>/</code> changes the code from
<code>
perl -le 's ssSss.s sSsSiss.s s$sSss.ss .$s\107ss.print'
</code>
to
<code>
perl -le 's //S/s.s /S/Sis/.s /$/S/s.s/ .$/\107/s.print'
</code>
This prints
<code>
SisS
</code>
[Sigmund], is this correct?
<p>
<b>UPDATE:</b><br>
I have just read this node: [id://109352] where [Sigmund] explains his signature, so it would appear that there was just a typo in the original post.
<p>
The correct version,
<code>
perl -le 's ssSss.s sSsSiss.s s$sSss.s s.$s\107ss.print'
</code>
works fine and prints
<code>
SiG
</code>
Basically the 16th <code>s</code> should have been after the space, not before it.
<p>
JJ
198016
198032