8 lines
117 B
Bash
Executable File
8 lines
117 B
Bash
Executable File
#!/bin/bash
|
|
outfile="wordcount.txt"
|
|
echo "Word count" > $outfile
|
|
|
|
for file in *.tab
|
|
do
|
|
wc -l $file >> $outfile
|
|
done |