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**: [email protected] **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*





בתאריך יום ה׳, 18 באפר׳ 2024 ב-15:37 מאת Kirk Wolf <[email protected]>:

> 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 :-)
>
> Kirk Wolf
> Dovetailed Technologies
> https://coztoolkit.com
>
> On Thu, Apr 18, 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/Linux & IBM I **| z/VM coming soon  *
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to