This commit is contained in:
eddyem
2016-03-21 19:59:04 +03:00
parent 09bfdc51c2
commit 326e4d84eb
13 changed files with 14638 additions and 27 deletions

9
00-logs/find_cmd Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# find in which file of all *dat exists command $1
for f in *.dat; do
N=$(awk '{print $2}' $f | grep "$1" | wc -l)
if [ "$N" -ne 0 ]; then
printf "%-22s%d\n" $f $N
fi
done