?? foreground_heritrix
字號:
#!/usr/bin/env sh#### This script launches the heritrix crawler and keeps the process in foreground#### Optional environment variables#### JAVA_HOME Point at a JDK install to use.## ## HERITRIX_HOME Pointer to your heritrix install. If not present, we ## make an educated guess based of position relative to this## script.#### JAVA_OPTS Java runtime options.#### FOREGROUND Set to any value -- e.g. 'true' -- if you want to run ## heritrix in foreground (Used by build system when it runs## selftest to see if completed successfully or not)..### Resolve links - $0 may be a softlinkPRG="$0"while [ -h "$PRG" ]; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '.*/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fidonePRGDIR=`dirname "$PRG"`# Set HERITRIX_HOME.if [ -z "$HERITRIX_HOME" ]then HERITRIX_HOME=`cd "$PRGDIR/.." ; pwd`fiFOREGROUND='true' /bin/sh $HERITRIX_HOME/bin/heritrix $@
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -