On Fri, 25 Nov 2022 at 01:21, Paul Gilmartin <[email protected]> wrote:

> On 11/24/22 13:17:46, Rob van der Heij wrote:
> > On Thu, 24 Nov 2022 at 21:14, Alain Benveniste wrote:
> >>
> >> How to change (3.5) "no matter what there is" by blanks ?
> >
> > How about one of these?
> >
> >   | spec 1-* 1 , , 3.5
> >   | xlate 3.5 00-FF 40
>
> Suppose the input record is just 4 bytes long:
> o Will it be padded to 5 bytes?
> o Will it be unchanged because "3.5" doesn't match?
>
> Does it matter to the OP?
>

It probably does, but since we don't know whether the plumbing runs in the
wall or under the floor, that's left to the plumber who knows the
situation. That's why I offered two alternatives that deal with it
differently. The SPEC case will pad the record to length 8 if needed.  The
XLATE will change whatever part of the input range is there, but does not
pad the record.

Rob

PS Your mailer appears to convince some recipients' mail agent to put the
message aside as spam or unwanted content. If that's not the intent, you
might want to investigate.

Reply via email to