TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional 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]>
X-To: Ted Dennison <[log in to unmask]>
Date: Tue, 12 Oct 1999 11:32:53 -0700
Reply-To: Greg Bek <[log in to unmask]>
From: Greg Bek <[log in to unmask]>
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Parts/Attachments: text/plain (31 lines)
Ted Dennison wrote:
>
> I have a simpler one:
>
>      grep -c ";"
>
> (To get this to work on windows, you need cygwin. :-)  )
>
Actually on NT in a shell window type:
find /c ";" *.ada
D:\CCSnapShots\gab_view3\NewAdaVOB\test\greeting.rss>find /c ";" *.ada

---------- COMPLEX.1.ADA: 2

---------- FOO.1.ADA: 1

---------- GREET.2.ADA: 6

---------- HELLO.2.ADA: 4

---------- MESSAGES.1.ADA: 3

---------- MESSAGES.2.ADA: 5

---------- WELCOME.2.ADA: 5

The NT find command has /I /V /N and /C that work very similarly
to the unix grep -i -v -n -c.

Greg

ATOM RSS1 RSS2