Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
3
Task/Text-processing-2/AWK/text-processing-2-6.awk
Normal file
3
Task/Text-processing-2/AWK/text-processing-2-6.awk
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
bash$ awk '{rec++;ok=1; for(i=0;i<24;i++){if($(2*i+3)<1){ok=0}}; recordok += ok} END {print "Total records",rec,"OK records", recordok, "or", recordok/rec*100,"%"}' readings.txt
|
||||
Total records 5471 OK records 5017 or 91.7017 %
|
||||
bash$
|
||||
Loading…
Add table
Add a link
Reference in a new issue