Re: grep ascii files...

2024-04-19 Thread Itschak Mugzach
2024 12:03 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: grep ascii files... > > On Thu, 18 Apr 2024 15:02:41 +, Farley, Peter wrote: > > >Re: “When typing Hebrew or Arabic text on a 3270, does tne cursor move > right-to-left?”, I can testify that yes it does. Quite rem

Re: grep ascii files...

2024-04-19 Thread Seymour J Metz
Discussion List on behalf of Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Thursday, April 18, 2024 12:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: grep ascii files... On Thu, 18 Apr 2024 15:02:41 +, Farley, Peter wrote: >Re: “When typing Hebrew or Arabic text

Re: grep ascii files...

2024-04-18 Thread Itschak Mugzach
The file is a .jar which is an ascii archive. However, the text I was looking for was not condensed. rep did not discover the text. Anyway, I have an alternative. I just hoped grep will be shorter in terms of elapsed and cpu. ITachak *| **Itschak Mugzach | Director | SecuriTeam Software **|**

Re: grep ascii files...

2024-04-18 Thread Phil Smith III
Gil asked: > How do regular expessions play with R-to-L text? https://stackoverflow.com/questions/50570322/regex-pattern-matching-in-right-to-left-languages -- For IBM-MAIN subscribe / signoff / archive access instructions, send

Re: grep ascii files...

2024-04-18 Thread Paul Gilmartin
On Thu, 18 Apr 2024 11:16:30 -0500, Grant Taylor wrote: >On 4/18/24 11:03 AM, Paul Gilmartin wrote: >> someone conversant with such languages has posted here that the spoken >> convention is low-to-high order: "four and twenty blackbirds." > >Would you please clarify / confirm the example

Re: grep ascii files...

2024-04-18 Thread Grant Taylor
On 4/18/24 11:03 AM, Paul Gilmartin wrote: someone conversant with such languages has posted here that the spoken convention is low-to-high order: "four and twenty blackbirds." Would you please clarify / confirm the example language? "four and twenty blackbirds" sort of breaks my brain and

Re: grep ascii files...

2024-04-18 Thread Paul Gilmartin
On Thu, 18 Apr 2024 15:02:41 +, Farley, Peter wrote: >Re: “When typing Hebrew or Arabic text on a 3270, does tne cursor move >right-to-left?”, I can testify that yes it does. Quite remarkable when you >first see it, but then for numeric fields it moves left to right, just like

Re: grep ascii files...

2024-04-18 Thread Seymour J Metz
arc-requ...@listserv.ua.edu> Sent: Thursday, April 18, 2024 10:43 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: grep ascii files... 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'

Re: grep ascii files...

2024-04-18 Thread Kirk Wolf
erely what others think you are.” - - - John Wooden > > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Itschak Mugzach > Sent: Thursday, April 18, 2024 7:59 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: grep ascii files... > > Kirk, >

Re: grep ascii files...

2024-04-18 Thread Farley, Peter
ascii files... 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 p

Re: grep ascii files...

2024-04-18 Thread Paul Gilmartin
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

Re: grep ascii files...

2024-04-18 Thread Lionel B. Dyck
-Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Thursday, April 18, 2024 8:22 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: grep ascii files... On Thu, 18 Apr 2024 07:36:15 -0500, Kirk Wolf wrote: >Behold the power of Unix pipelines: > >$ ico

Re: grep ascii files...

2024-04-18 Thread Paul Gilmartin
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

Re: grep ascii files...

2024-04-18 Thread Lionel B. Dyck
: grep ascii files... Kirk, I want to directly grep ascii files instead of iconv first. ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and IBM I **| * *|* *Email**: i_mugz...@secu

Re: grep ascii files...

2024-04-18 Thread Itschak Mugzach
Kirk, I want to directly grep ascii files instead of iconv first. ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and IBM I **| * *|* *Email**: i_mugz...@securiteam.co.il **|* *Mob

Re: grep ascii files...

2024-04-18 Thread Kirk Wolf
2024, at 4:03 AM, ITschak Mugzach wrote: > Is there any command to grep ascii files without the need to first convert > them to ebcdic (iconv -f)? > > ITschak > > ITschak Mugzach > *|** IronSphere Platform* *|* *Information Security Continuous Monitoring > for z/OS, x/

grep ascii files...

2024-04-18 Thread ITschak Mugzach
Is there any command to grep ascii files without the need to first convert them to ebcdic (iconv -f)? ITschak ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS, x/Linux & IBM I **| z/VM coming