source: issm/trunk/scripts/getloc.sh

Last change on this file was 25836, checked in by Mathieu Morlighem, 4 years ago

merged trunk-jpl and trunk for revision 25834

  • Property svn:executable set to *
File size: 425 bytes
Line 
1#!/bin/bash
2#get number of lines of code
3cloc $ISSM_DIR/src $ISSM_DIR/m4 --exclude-dir=.svn --exclude-dir=ad --exclude-ext=exp --exclude-lang=make --out=temp --force-lang="MATLAB",m
4cat temp
5./cloc2html.py
6rm temp
7
8cat $ISSM_DIR/src/dox/issm.dox | sed '/<table/,//d' > input1
9cat $ISSM_DIR/src/dox/issm.dox | sed '1,/<\/table>/d' > input2
10cat input1 temp.html input2 > $ISSM_DIR/src/dox/issm.dox
11#rm input1 input2 temp.html
Note: See TracBrowser for help on using the repository browser.