tSimple SLOC output (remove non-line-of-code) - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit b37a727dee6cd11c490da4680133880f140566f2
(DIR) parent 2d3f871ea5a90ae67f297c968646eb64e03e7c56
(HTM) Author: z3bra <willy@mailoo.org>
Date: Tue, 4 Nov 2014 01:03:08 +0100
Simple SLOC output (remove non-line-of-code)
Diffstat:
A sloc | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sloc b/sloc
t@@ -0,0 +1,5 @@
+#!/bin/sed -f
+
+/^$/d
+/^\s*[{}]/d
+/^\s*[/*]/d