if [ 0 -ne $# ]; then
echo "USAGE: prog [IN]input_file" >&2;
exit 1;
fi
source /etc/profile
source ~/.bash_profile
ulimit -c unlimited
#./ExtractICBAData1 576_dumppages result/576.result.txt 2>log/576.stderr.txt 1>log/576.stdout.txt
for((i=1;i<=576;i++))
{
part="000";
if [ $i -lt 10 ]; then
part="00$i";
elif [ $i -lt 100 ]; then
part="0$i";
else
part="$i";
fi;
/hadoop/xxx/corpus/iciba/html/${part}_dumppages;
}
echo "$0 has finished,congratulations!">&2;