[Info-vax] grep a nice one

Arne Vajhøj arne at vajhoej.dk
Thu Jan 28 20:56:07 EST 2010


On 28-01-2010 12:54, CY wrote:
> Any suggestions? or do I have to try that out myself?
>
> got some .sh that i want to convert and as I see this little thingy
> "grep" do some search and deliver exactly what you want.
>
> is there any thing like it native or do I have to dl some *NIX
> replacement?

If you are not interested in regex, then the SEARCH command
should do fine.

If you need the regex capability, then you can either find
one of the many ports of GREP (C code) to VMS *or* you could
write a very small utility on one of the languages that
comes with regex capability.

Arne




More information about the Info-vax mailing list