Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VMS like search utility for Windows

334 views
Skip to first unread message

vancouv...@yahoo.ca

unread,
Dec 5, 2007, 11:56:47 AM12/5/07
to
Hi, everybody

<Big desperation sigh>

In despair, I hope somebody has a Windows replacement for the
wonderful VMS Search command. The VMS search is so versatile and
useful that I am searching for a similar command line tool for the
Windows platform.

After a little bit of searching, I know of find and findstr.
Specifically, I am looking for a command line tool that allows
specification of search files using MODified, CREated, SINce and
BEFore date modifiers.

On VMS, it is so easy to search for something that has happened in
yesterday's log file... Why such a simple task is hard on Windows?

<\Big desperation sigh>

TIA
Van

NB: Please, keep to the topic and refrain from bashing Windows. Your
mom would not approve bashing a crippled OS. ;-)

Richard B. Gilbert

unread,
Dec 5, 2007, 11:59:18 AM12/5/07
to

It's not hard if you use the Windows interface. The "command line"
interface is the mortal remains of MSDOS and is nearly useless for most
purposes.


vancouv...@yahoo.ca

unread,
Dec 5, 2007, 12:34:43 PM12/5/07
to
On Dec 5, 11:59 am, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:
> purposes.- Hide quoted text -
>
> - Show quoted text -

I am looking for a command line utility because I want to use it in a
batch running at 4h00 AM everyday that will alert me when it finds
some specific string in yesterday's log files. As you can guess, there
is a big number of log files in the directory but I need to find if
some event occurred yesterday.

TIA
Van

AEF

unread,
Dec 5, 2007, 1:01:49 PM12/5/07
to

Have you tried this:

Open DCL Lite version 2.21 (2001-088)
Copyright (C) Accelr8 Technology Corporation 1991-2001. All rights
reserved.

[Warning: The Lite version (which I have and use) is buggy. You may
need the pay-for version (which I don't have and never used).]

Here's the SEARCH HELP:


SEARCH


The SEARCH command searches the given file(s) for the given
string(s). The default file specification for omitted fields is
"*.*".
Enclose the string(s) to match in quotation marks if they contain
any
characters other than lowercase letters and digits.

Format:

SEARCH file-spec[,...] match-string[,...]


Additional information available:

Parameters Qualifiers
/BEFORE /BY_OWNER /CONFIRM /CREATED /EXACT /EXCLUDE /
FORMAT
/HEADING /HIGHLIGHT /LOG /MATCH /MODIFIED /NUMBERS
/REMAINING /SINCE /WINDOW
Examples Implementation_Differences

SEARCH Subtopic?

This is all from the free version, which I have on my PC at work.
Oddly, the HELP often assumes it's running on a Unix system. I myself
use it to take advantage of DIR/SINCE=-7-00 to see the last week's
worth of certain data files that are FTP'd to a Windows system every
workday.

Here is more info, also from the HELP:

ACCELR8


Open DCL Lite was developed by Accelr8 Technology Corporation as a
way to increase awareness of its commercial Open DCL product and
other
migration software. Open DCL supports a much larger set of DCL
commands
and lexical functions, systemwide logical names, indexed files,
and more.

If you need to move applications and users from VMS to either Unix
or NT,
Accelr8 can provide the tools and the expertise to get you there.

To contact Accelr8:

WWW: http://www.accelr8.com E-mail: in...@accelr8.com
Phone: 303-863-8088
Mail: Accelr8 Technology Corporation
303 E. 17th Ave., Suite 108
Denver, CO 80203 USA


Topic?

Bill Gunshannon

unread,
Dec 5, 2007, 1:14:21 PM12/5/07
to
In article <9e79b1d8-5673-487e...@e25g2000prg.googlegroups.com>,

Would Unix "find" and "grep" do the trick? I know they are available
under CygWin. I would not be surprised if there native DOS versions
as well.

bill

--
Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
bi...@cs.scranton.edu | and a sheep voting on what's for dinner.
University of Scranton |
Scranton, Pennsylvania | #include <std.disclaimer.h>

Bob Koehler

unread,
Dec 5, 2007, 1:32:44 PM12/5/07
to
In article <146c9b6a-7323-4d58...@x69g2000hsx.googlegroups.com>, vancouv...@yahoo.ca writes:
>
> In despair, I hope somebody has a Windows replacement for the
> wonderful VMS Search command. The VMS search is so versatile and
> useful that I am searching for a similar command line tool for the
> Windows platform.

There is hope. Fortunately UNIX, as poor as you may find it,
is better than Windows. And cygwin is a very usefull free
UNIX emulation environment that runs on Windows.

When you load cygwin, you may have to turn on some options to
get find, grep, and xargs. Then just remember the UNIX mantra:

find <files> | xargs grep <string>

Yeah, I know, I'd rather search, too, but the above beats the
pants of findstr. And cygwin uses gnu grep, so you can do things
UNIX grep can't.

Bob Koehler

unread,
Dec 5, 2007, 1:34:48 PM12/5/07
to
In article <4756D8E6...@comcast.net>, "Richard B. Gilbert" <rgilb...@comcast.net> writes:
>
> It's not hard if you use the Windows interface. The "command line"
> interface is the mortal remains of MSDOS and is nearly useless for most
> purposes.

The Windows interface sucks. All the command line utilities will
show the line containing the string, which is a great help in
figuring out if you've got the right file. The Windows Explorer
search will only show you the file name.

Ever try looking through a couple dozen Word files to see if you've
found the right one? Good way to burn up your employer's pay.

vancouv...@yahoo.ca

unread,
Dec 5, 2007, 1:38:01 PM12/5/07
to
> WWW:http://www.accelr8.com E-mail: i...@accelr8.com

> Phone: 303-863-8088
> Mail: Accelr8 Technology Corporation
> 303 E. 17th Ave., Suite 108
> Denver, CO 80203 USA
>
> Topic?- Hide quoted text -

>
> - Show quoted text -

DCL Lite would fit the bill. I even used it in another job.
Unfortunately, the product is unsupported and accelr8 web site does
not even mention dcl lite(Try to find it!). You also have to run the
commands inside the shell, not at a DOS prompt. The resource usage is
also not optimized. I would rather find a command line Search utility.

In fact, now that DCL Lite is mentionned, VMS community would gain if
DCL Lite was OpenSourced.
I am sure we could improve the tool for everybody's benefit. If
somebody has access to DCL Lite owners, talk to them.

Thanks for your suggestion
Van

vancouv...@yahoo.ca

unread,
Dec 5, 2007, 1:42:15 PM12/5/07
to

Basically, I would like to enter the following command in a batch
file:

$ search *.log /created/before=today/since=yesterday "MyString" /out=c:
\temp\list.tmp

Van

Bill Gunshannon

unread,
Dec 5, 2007, 2:16:21 PM12/5/07
to
In article <35e90779-7cd8-4244...@e25g2000prg.googlegroups.com>,

If they have a commercial DCL for Windows product it is probably not
in their best interests to see the free one improved.

Bill Gunshannon

unread,
Dec 5, 2007, 2:30:39 PM12/5/07
to
In article <nfyFUx...@eisner.encompasserve.org>,

koe...@eisner.nospam.encompasserve.org (Bob Koehler) writes:
> In article <146c9b6a-7323-4d58...@x69g2000hsx.googlegroups.com>, vancouv...@yahoo.ca writes:
>>
>> In despair, I hope somebody has a Windows replacement for the
>> wonderful VMS Search command. The VMS search is so versatile and
>> useful that I am searching for a similar command line tool for the
>> Windows platform.
>
> There is hope. Fortunately UNIX, as poor as you may find it,
> is better than Windows. And cygwin is a very usefull free
> UNIX emulation environment that runs on Windows.
>
> When you load cygwin, you may have to turn on some options to
> get find, grep, and xargs. Then just remember the UNIX mantra:
>
> find <files> | xargs grep <string>

Can be done without xargs, actually.

find <files> -exec grep {} \;

Other options as desired for both commands.

>
> Yeah, I know, I'd rather search, too, but the above beats the
> pants of findstr. And cygwin uses gnu grep, so you can do things
> UNIX grep can't.

Not sure what you consider "UNIX grep" as all of them pretty much use
the GNU junk now. Biggest problem with GNU is they have taken too
many of the Unix utilities and dragged them kicking and screaming out
of the true Unix Paradigm.

VAXman-

unread,
Dec 5, 2007, 3:11:38 PM12/5/07
to

There was a piece fo software called PC-DCL which, if you can find
the source, should be able to be compiled for Weendoze today. Its
been the seed to a number of DCL wannabe products.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM

"Well my son, life is like a beanstalk, isn't it?"

http://tmesis.com/drat.html

David J Dachtera

unread,
Dec 5, 2007, 3:31:49 PM12/5/07
to
VAXman-, @SendSpamHere.ORG wrote:
> [snip]

> There was a piece fo software called PC-DCL which, if you can find
> the source, should be able to be compiled for Weendoze today. Its
> been the seed to a number of DCL wannabe products.

Was the source for that ever released?

Also, I found that it would conflict with DEPCA.DOS and/or the LAT
driver from Pathworks V4.1.

David J Dachtera
DJE Systems

VAXman-

unread,
Dec 5, 2007, 3:34:23 PM12/5/07
to
>{...snip...}

>> To contact Accelr8:
>>
>> WWW:http://www.accelr8.com E-mail: i...@accelr8.com
>> Phone: 303-863-8088
>> Mail: Accelr8 Technology Corporation
>> 303 E. 17th Ave., Suite 108
>> Denver, CO 80203 USA
>>
>> Topic?- Hide quoted text -
>>
>> - Show quoted text -
>
>DCL Lite would fit the bill. I even used it in another job.
>Unfortunately, the product is unsupported and accelr8 web site does
>not even mention dcl lite(Try to find it!). You also have to run the
>commands inside the shell, not at a DOS prompt. The resource usage is
>also not optimized. I would rather find a command line Search utility.

From: http://209.85.165.104/search?q=cache:ZBa6_xTNzNAJ:www.accelr8.com/docs/AXK_1Q07_Update_02-07-07.pdf+accelr8+%2Bsector+7&hl=en&ct=clnk&cd=18&gl=us&client=safari
...and several SEC filings, I found:

History, Headquarters, and Employees

Founded in August 1987, Accelr8 is headquartered in Denver, Colorado.
The Company was originally a provider of software tools and consulting
services for system modernization solutions for legacy systems. In early
2001, Accelr8 acquired advanced materials and instrumentation platforms
for ultra-sensitive bio-analytic assays from DDx, Inc. (a manufacturer
of estrus synchronization products) for $3 million ($500,000 in cash
plus 1.8 million shares of stock valued at $1.375, while the stock was
$0.40 at the time). In 2003, the Company acquired additional intellectual
property for rapid analytical processing. In2004, Accelr8 originated new
analytical methods and intellectual property for the analysis of medical
specimens based on sequential analysis of individual identifiable cells
and clones (called Quantum Microbiology). The Companys BACcelr8r Rapid
Analytical System employs elements from several of these assets.

Which to me speaks volumes about the usefulness of OpenVMS-like utilities
in the Weendoze space. If somebody was going to spend money on a script-
ing language for these CLI-lobotomized boxes, they should seek out to use
some scripting technlogy that is a bit more widely used. Perhaps, PERL?
Or, PHP if doing this for web sites. I'd wager that there are ratios of
greater than 1000 (or maybe 10K) to 1 people knowing some other scripting
lingo over DCL. What's that you say? You want DCL on Weendoze so you'll
be able to move your 100K lines of DCL procedures off of VMS and onto the
mohogony-lined meeting room martini-guzzling moron mandated migrations to
Weendoze? Yeah, right. These pseudo-DCL scripting shells pale to what
one can really do in DCL. Give it up. Only a fool would try to do this
and expect any rewarding results.

Bob Koehler

unread,
Dec 5, 2007, 5:41:02 PM12/5/07
to
In article <5rocivF...@mid.individual.net>, bill...@cs.uofs.edu (Bill Gunshannon) writes:
>
> Not sure what you consider "UNIX grep" as all of them pretty much use
> the GNU junk now. Biggest problem with GNU is they have taken too
> many of the Unix utilities and dragged them kicking and screaming out
> of the true Unix Paradigm.

None of the UNIX I have ship with gnu grep's ability to show
unmatching lines surrounding the matching lines (equivalent of
/WINDOW in VMS SEARCH).

Gnu's not UNIX and UNIX ain't gnu.

Richard B. Gilbert

unread,
Dec 5, 2007, 6:07:22 PM12/5/07
to

ISTR that there is an implementation of grep available for Windows. I
don't recall if it comes with Windows or is an add-on.


John Vottero

unread,
Dec 5, 2007, 8:08:26 PM12/5/07
to
<vancouv...@yahoo.ca> wrote in message
news:146c9b6a-7323-4d58...@x69g2000hsx.googlegroups.com...

> Hi, everybody
>
> <Big desperation sigh>
>
> In despair, I hope somebody has a Windows replacement for the
> wonderful VMS Search command. The VMS search is so versatile and
> useful that I am searching for a similar command line tool for the
> Windows platform.
>
> After a little bit of searching, I know of find and findstr.
> Specifically, I am looking for a command line tool that allows
> specification of search files using MODified, CREated, SINce and
> BEFore date modifiers.
>
> On VMS, it is so easy to search for something that has happened in
> yesterday's log file... Why such a simple task is hard on Windows?
>

PowerShell is the new Windows command line interface. You can read more and
download from here:

http://www.microsoft.com/PowerShell

To do this:

$ search *.log /created/before=today/since=yesterday "MyString"
/out=c:\temp\list.tmp

in PowerShell, you would do:

PS C:\> dir *.log | where {$_.CreationTime.Date -eq
[DateTime]::Today.AddDays(-1)} | select-string "MyString" > c:\temp\list.tmp


VMS is Virus Free

unread,
Dec 5, 2007, 8:13:54 PM12/5/07
to
On Wed, 5 Dec 2007 10:42:15 -0800 (PST), vancouv...@yahoo.ca
wrote:

>
>Basically, I would like to enter the following command in a batch
>file:
>
>$ search *.log /created/before=today/since=yesterday "MyString" /out=c:
>\temp\list.tmp
>
>Van

Van,

The best DCL environment I've ever found for Windows is a product
called XLNT from Advanced Systems Concepts.

Main: http://www.advsyscon.com
XLNT: http://www.advsyscon.com/products/xlnt/

Cons:

It's rather expensive

Pros:

- Gives you a DCL environment on Windows
- Lots of lexicals, even some new ones
- DO WHILE, DO UNTIL constructs
- Many VMS commands files run w/o change
- Supported, new versions and updates do occur

There is also a SEARCH command included in its set of utilities:

SEARCH filename[,匽 searchstring[,匽
/ACCESS /BEFORE[=time] /[NO] CONFIRM /CREATE /[NO]EXACT
/EXCLUDE=(filespec[,匽)
/[NO]HEADING /[NO] HIGHLIGHT /[NO]LOG /MATCH=[and, nor, nand, or, xor]
/[NO]NUMBERS
/[NO]OUTPUT[=filespec] /SINCE[=time] /[NO]STATISTICS /[NO]WINDOW[=(n1,
n2)] /WRITE

I have recommended this to many customers who drug the VMS folks
kicking and screaming into the Windows world. This app alone made the
transition tolerable. In fact, when running inside this environment,
Windows is actually (gasp) tolerable because you can now get at and do
the things you like to do from the VMS side of things.

VAXman-

unread,
Dec 5, 2007, 9:22:31 PM12/5/07
to
In article <dmiel3pn0j5p5a7ek...@4ax.com>, VMS is Virus Free <v...@virusfree.org> writes:
>
>
>On Wed, 5 Dec 2007 10:42:15 -0800 (PST), vancouv...@yahoo.ca
>wrote:
>
>>
>>Basically, I would like to enter the following command in a batch
>>file:
>>
>>$ search *.log /created/before=today/since=yesterday "MyString" /out=c:
>>\temp\list.tmp

Try this and post back:

$ WRITE SYS$OUTPUT "''F$message(%X34B4)'"

Phaeton

unread,
Dec 5, 2007, 9:26:46 PM12/5/07
to
vancouv...@yahoo.ca wrote:
[...snip...]

>
> DCL Lite would fit the bill. I even used it in another job.
> Unfortunately, the product is unsupported and accelr8 web site does
> not even mention dcl lite(Try to find it!). You also have to run the
> commands inside the shell, not at a DOS prompt. The resource usage is
> also not optimized. I would rather find a command line Search utility.
>
> In fact, now that DCL Lite is mentionned, VMS community would gain if
> DCL Lite was OpenSourced.
> I am sure we could improve the tool for everybody's benefit. If
> somebody has access to DCL Lite owners, talk to them.
>
> Thanks for your suggestion
> Van

One more time :-) :

I think you have to email them. I got it from them this way last year.

Email : ussu...@transoft.com ( USA, presumably )
Email : uksu...@transoft.com ( UK, I guess )

Cheers, Csaba

----------------------------------------------------------------------------------
|d|i|g|i|t|a|l| http://accounts.zotspot.com/?source=10965&m=l
----------------------------------------------------------------------------------
EARTH::AUSTRALIA:[SYDNEY]HARANGOZO.CSABA;1, delete? [N]:

By the time you make ends meet, they move the ends.

Richard B. Gilbert

unread,
Dec 5, 2007, 9:31:40 PM12/5/07
to
VAXman- wrote:
> In article <dmiel3pn0j5p5a7ek...@4ax.com>, VMS is Virus Free <v...@virusfree.org> writes:
>
>>
>>On Wed, 5 Dec 2007 10:42:15 -0800 (PST), vancouv...@yahoo.ca
>>wrote:
>>
>>
>>>Basically, I would like to enter the following command in a batch
>>>file:
>>>
>>>$ search *.log /created/before=today/since=yesterday "MyString" /out=c:
>>>\temp\list.tmp
>>
>
> Try this and post back:
>
> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
>

ALPHA5_$ $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
%SYSTEM-F-NOMSG, Message number 000034B4
ALPHA5_$ say f$getsyi("version")
V7.2-1

What was your point Brian?


Tim Sneddon

unread,
Dec 5, 2007, 11:27:30 PM12/5/07
to
Richard B. Gilbert wrote:
>> Try this and post back:
>>
>> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
>>
>
> ALPHA5_$ $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
> %SYSTEM-F-NOMSG, Message number 000034B4
> ALPHA5_$ say f$getsyi("version")
> V7.2-1
>
> What was your point Brian?
>

On V8.3 it gives:

%SYSTEM-F-GAMEOVER, all your base are belong to us

Regards, Tim.

--
Posted via a free Usenet account from http://www.teranews.com

JF Mezei

unread,
Dec 6, 2007, 1:14:02 AM12/6/07
to
VAXman- @SendSpamHere.ORG wrote:
> Try this and post back:
>
> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"

$ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
-bash: $: command not found


Besides, I never quite understood the wording of that message.
Shouldn't "base" be plurial ? And doesn't the presence of "are" make the
sentence sort of improperly structured ?

I take it this is the VMS security/intrusion system's last gasp it
issues after hackers have taken control of all your nodes ?

Mark Daniel

unread,
Dec 6, 2007, 3:13:08 AM12/6/07
to

http://en.wikipedia.org/wiki/All_your_base_are_belong_to_us

--
If some good evidence for life after death were announced, I'd be eager
to examine it; but it would have to be real scientific data, not mere
anecdote. As with the face on Mars and alien abductions, better the hard
truth, I say, than the comforting fantasy.
[Carl Sagan, The Demon-Haunted World]

VAXman-

unread,
Dec 6, 2007, 7:15:38 AM12/6/07
to

%SYSTEM-F-GAMEOVER, all your base are belong to us
----------^^^^^^^^

This is/was not a serious thread; it's disingenuous subterfuge.

Tom Linden

unread,
Dec 6, 2007, 9:19:12 AM12/6/07
to
On Thu, 06 Dec 2007 00:13:08 -0800, Mark Daniel <mark....@vsm.com.au>
wrote:

> JF Mezei wrote:
>> VAXman- @SendSpamHere.ORG wrote:
>>
>>> Try this and post back:
>>>
>>> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
>> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
>> -bash: $: command not found
>> Besides, I never quite understood the wording of that message.
>> Shouldn't "base" be plurial ? And doesn't the presence of "are" make
>> the sentence sort of improperly structured ?
>> I take it this is the VMS security/intrusion system's last gasp it
>> issues after hackers have taken control of all your nodes ?
>
> http://en.wikipedia.org/wiki/All_your_base_are_belong_to_us

And here I thought it was our terminal server port busy message
HAFNER >CISCO2 OPA0 22C0169A (subprocess of 22C01696)
%CONSOLE-F-ERROR Requested console in use


%SYSTEM-F-GAMEOVER, all your base are belong to us

:-)


>
> --
> If some good evidence for life after death were announced, I'd be eager
> to examine it; but it would have to be real scientific data, not mere
> anecdote. As with the face on Mars and alien abductions, better the hard
> truth, I say, than the comforting fantasy.
> [Carl Sagan, The Demon-Haunted World]

--
PL/I for OpenVMS
www.kednos.com

Matthias Maisenbacher

unread,
Dec 7, 2007, 6:56:32 AM12/7/07
to
Bob Koehler <koe...@eisner.nospam.encompasserve.org> schrieb:

> None of the UNIX I have ship with gnu grep's ability to show
> unmatching lines surrounding the matching lines (equivalent of
> /WINDOW in VMS SEARCH).
And none of them ship with the ability to search for two different strings.
For me this is the most missed feature of VMS search.

In DCL you could type:
$ search example.txt sun,moon
and would get the lines containing "sun" AND the lines containing "moon".

Any idea for replacing this behaviour on DOS/Windows/Linux?

Thanks a lot

Matthias Maisenbacher

(developping and running programs under Windows but still having the source code in CMS :-)

Bill Gunshannon

unread,
Dec 7, 2007, 7:07:20 AM12/7/07
to
In article <slrnfligh7.282.mat...@localhost.localdomain>,

Matthias Maisenbacher <matthias.m...@de.bosch.com> writes:
> Bob Koehler <koe...@eisner.nospam.encompasserve.org> schrieb:
>> None of the UNIX I have ship with gnu grep's ability to show
>> unmatching lines surrounding the matching lines (equivalent of
>> /WINDOW in VMS SEARCH).
> And none of them ship with the ability to search for two different strings.
> For me this is the most missed feature of VMS search.
>
> In DCL you could type:
> $ search example.txt sun,moon
> and would get the lines containing "sun" AND the lines containing "moon".
>
> Any idea for replacing this behaviour on DOS/Windows/Linux?

grep -e sun -e moon "filename"

P. Sture

unread,
Dec 11, 2007, 12:22:31 AM12/11/07
to
In article <H1J5j.112$Es3...@newsfe08.lga>, VAXman- @SendSpamHere.ORG
wrote:

> Try this and post back:
>
> $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"

LOL!

--
Paul Sture

Sue's OpenVMS bookmarks:
http://eisner.encompasserve.org/~sture/ovms-bookmarks.html

David J Dachtera

unread,
Dec 11, 2007, 9:56:39 PM12/11/07
to
"P. Sture" wrote:
>
> In article <H1J5j.112$Es3...@newsfe08.lga>, VAXman- @SendSpamHere.ORG
> wrote:
>
> > Try this and post back:
> >
> > $ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
>
> LOL!

From V7.3-2:
DJAS02::DDACHTERA$ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
%SYSTEM-F-NOMSG, Message number 000034B4

From V7.2-2:
DJAS01::DDACHTERA$ WRITE SYS$OUTPUT "''F$message(%X34B4)'"
%SYSTEM-F-NOMSG, Message number 000034B4

David J Dachtera
DJE Systems

yyyc186

unread,
Dec 14, 2007, 12:43:43 PM12/14/07
to
On Dec 5, 11:34 am, vancouvercan...@yahoo.ca wrote:
> On Dec 5, 11:59 am, "Richard B. Gilbert" <rgilber...@comcast.net>
> wrote:
>
>
>
> > vancouvercan...@yahoo.ca wrote:
> > > Hi, everybody
>
> > > <Big desperation sigh>
>
> > > In despair, I hope somebody has a Windows replacement for the
> > > wonderful VMS Search command. The VMS search is so versatile and
> > > useful that I am searching for a similar command line tool for the
> > > Windows platform.
>
> > > After a little bit of searching, I know of find and findstr.
> > > Specifically, I am looking for a command line tool that allows
> > > specification of search files using MODified, CREated, SINce and
> > > BEFore date modifiers.
>
> > > On VMS, it is so easy to search for something that has happened in
> > > yesterday's log file... Why such a simple task is hard on Windows?
>
> > > <\Big desperation sigh>
>
> > > TIA
> > > Van
>
> > > NB: Please, keep to the topic and refrain from bashing Windows. Your
> > > mom would not approve bashing a crippled OS. ;-)
>
> > It's not hard if you use the Windows interface. The "command line"
> > interface is the mortal remains of MSDOS and is nearly useless for most
> > purposes.- Hide quoted text -
>
> > - Show quoted text -
>
> I am looking for a command line utility because I want to use it in a
> batch running at 4h00 AM everyday that will alert me when it finds
> some specific string in yesterday's log files. As you can guess, there
> is a big number of log files in the directory but I need to find if
> some event occurred yesterday.
>
> TIA
> Van


The Watcom compiler/development system had a utility called wgrep
which was command line. The entire Watcom tool set is now OpenSource
and hosted by SciTech I believe. Do a Web search for Watcom C++.

Jan-Erik Söderholm

unread,
Dec 14, 2007, 1:28:56 PM12/14/07
to
"windows grep" in Google gave a couple
of grep ports for Windows.

I guess they are as like any grep port
for VMS as one could ask for... :-)

Jan-Erik.

0 new messages