X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcount-lines;h=a680905b1b9272625be92c85f7464b869d843912;hb=f7baed75284306092c153924637d7316dd1bc1a8;hp=5f545b0a8f616ccdefd7d73ba764cb26cd5b0fec;hpb=1ef84681d13d0c355d6ae78579d2afe1c8d8d0e2;p=bacula%2Fbacula diff --git a/bacula/src/count-lines b/bacula/src/count-lines index 5f545b0a8f..a680905b1b 100755 --- a/bacula/src/count-lines +++ b/bacula/src/count-lines @@ -1,8 +1,9 @@ #!/bin/sh rm -f 1 touch 1 -for i in . console gnome-console cats dird filed findlib lib stored; do - ls -1 $i/*.c $i/*.h $i/*.in >>1 +find . -type d >2 +for i in `cat 2` ; do + ls -1 $i/*.c $i/*.cpp $i/*.h $i/*.in 2>/dev/null >>1 done -cat 1 | lines -# rm -f 1 +cat 1 | $HOME/bin/lines +# rm -f 1 2