Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f895f82

Browse files
committed
Added count lines script
1 parent be376ef commit f895f82

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/count-lines.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
for F in *
4+
do
5+
if [[ -f $F ]]
6+
then
7+
echo $F: $(cat $F | wc -l)
8+
fi
9+
done

0 commit comments

Comments
 (0)