On Thu, 18 Apr 2024 08:24:02 -0500, Lionel B. Dyck wrote: >Gil - no need to insult. > Understood. I felt I that I was lighthearted, in the spirit of Kirk's suggestion, after I checked that he did append a smiley to his arrant pedantry.
More seriously, suppose the pattern isn't EBCDIC? I'm imagining Hebrew in UTF-8. How do regular expessions play with R-to-L text? When typing Hebrew or Arabic text on a 3270, does tne cursor move right-to-left? >-----Original Message----- >From: Paul Gilmartin >Sent: Thursday, April 18, 2024 8:22 AM > >On Thu, 18 Apr 2024 07:36:15 -0500, Kirk Wolf wrote: > >>Behold the power of Unix pipelines: >> >>$ iconv -f ISO8859-1 -t IBM-1047 myasciifile | grep MATCH >> >>iconv is not "first converting" the the whole file to EBCDIC since both >>iconv and grep run at the same time :-) >> >OK, smartass. How about "grep -r". -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
