TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: "Davenport, Darren" <[log in to unmask]>
Date: Tue, 12 Oct 1999 11:57:20 -0600
Reply-To: "Davenport, Darren" <[log in to unmask]>
Parts/Attachments: text/plain (32 lines)
Not that I like to defend windows but one can search for text in files using
windows by opening Explorer, going to the Tools menu and selecting
Find.  Alternatively, right clicking on a folder will display a menu with
the
same option.  In addition, NT offers the command line version called
findstr.

Darren

> -----Original Message-----
> From: Ted Dennison [SMTP:[log in to unmask]]
> Sent: Tuesday, October 12, 1999 11:23 AM
> To:   [log in to unmask]
> Subject:      Re: semi-colon counter for Ada
>
> Clyde Roby wrote:
>
> > Someone requested an Ada statement counter on one of these lists.
> > Here's a very simple-minded semi-colon counter that I wrote in 1991
> > (please be kind)...Clyde
>
> I have a simpler one:
>
>      grep -c ";"
>
> (To get this to work on windows, you need cygwin. :-)  )
>
> --
> T.E.D.   Work     -  mailto:[log in to unmask]
>          Home     -  mailto:[log in to unmask] (Yahoo: Ted_Dennison)
>          Homepage -  http://www.telepath.com/dennison/Ted/TED.html

ATOM RSS1 RSS2