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;

相关文章:

  • 2021-10-02
  • 2021-07-16
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-01-03
  • 2021-09-24
  • 2022-12-23
相关资源
相似解决方案