add: proc|sys fs format_checker (tool)
This commit is contained in:
14
test/proc_sys_checker/file_format_check.sh
Executable file
14
test/proc_sys_checker/file_format_check.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#file_format_check.sh
|
||||
|
||||
filename="./input"
|
||||
|
||||
if [ "x$1" != "x" ]; then
|
||||
filename=$1
|
||||
fi
|
||||
|
||||
cat /dev/null > outfile
|
||||
cat ${filename} | while read line
|
||||
do
|
||||
./file_format_check.pl $line >> outfile
|
||||
done
|
||||
Reference in New Issue
Block a user