On Fri, 29 May 2015 09:56:20 -0500, Paul Gilmartin <[email protected]> wrote:
>On Fri, 29 May 2015 09:52:42 -0500, Bill Godfrey wrote: > >>On Fri, 29 May 2015 09:03:59 -0500, Ze'ev Atlas wrote: >> >>> >>>But when we issue a pattern matching (I'll use Perl syntax for brevity) >>>if ($text =~ /some text \n/) >>>the \n is translated by convention to LF and the EBCDIC based pattern >>>matching will fail to match! >>> >> >>why not this? >>if ($text =~ /some text $/) >> >That's a circumvention, not a solution to the problem. But my question >remains, >by what "convention" in the z/OS EBCDIC environment is \n translated to LF >rather than NL? > I get identical results whether I use \n or $ in the OP's example. In OMVS. I'm not addressing your question but rather the OP's example. Bill ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
