comp.lang.ada
 help / color / mirror / Atom feed
From: scf16!bashford@ford-wdl1.arpa  (Dave Bashford)
Subject: Re: program to count LOC
Date: 20 Feb 93 01:15:37 GMT	[thread overview]
Message-ID: <1993Feb20.011537.16182@scf.loral.com> (raw)

In article <1993Feb19.190953.12876@relay.nswc.navy.mil> doliver@apssgi.nswc.nav
y.mil (Donna Oliver) writes:
>I would like to know where I can get a program to Ada lines of code.
>
if you are running on Unix, the following command will count uncommented
semi-colons:
	cat file | sed 's/--.*$//' | tr -cd ';' | wc -c

I'd be interested if anyone has a better definition of LSS (new
spelling of SLOC).
-- 

db
bashford@srs.loral.com (Dave Bashford, Sunnyvale, CA)

             reply	other threads:[~1993-02-20  1:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-20  1:15 Dave Bashford [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-02-22 15:11 program to count LOC David Emery
1993-02-20 15:23 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!cl2.cl.uh.edu!
1993-02-19 19:09 cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox