Jpp
18.2.1-ARCA-DF-PATCH
the software that should make you happy
|
Go to the source code of this file.
Functions | |
then fatal Invalid path $argv[1] fi | if (($ID==0)) |
then fatal Invalid detector identifier $argv[2] fi | if (($RUN==0)) |
then | if (($A_COUNTER > $COUNTER)) |
then fatal File $OUTPUT_FILE already exists fi cp p $INPUT_FILE $OUTPUT_FILE | if (($?==0)) |
Variables | |
script | |
then usage $script< path > < detectoridentifier >< run > < type >< outputfile > nUtility script to retrieve file from archive nNote that extension from name of file in archive is taken fi case set_variable VERSION | $argv [5] |
let | ID =" $argv[2]" |
let | RUN =" $argv[3]" |
*fatal Wrong number of arguments esac | if [[!-d $DIR]] |
then fatal Invalid run $argv[3] fi setopt extendedglob typeset Z8 ID let | COUNTER |
then typeset T BUFFER ARRAY eval ls $DIR $ID $TYPE | _ {VERSION}/\*/\*/\* 2> /dev/null | while read BUFFER |
do set_variable | A_ID |
then fatal No corresponding files found in archive $DIR fi | OUTPUT_FILE |
then fatal File $OUTPUT_FILE already exists fi cp p $INPUT_FILE $OUTPUT_FILE if | ( | ($?==0) | ) |
script |
Definition at line 5 of file getFile.sh.
set_variable OUTPUT_FILE $argv[-1] |
Definition at line 19 of file getFile.sh.
let ID =" $argv[2]" |
Definition at line 21 of file getFile.sh.
let RUN =" $argv[3]" |
Definition at line 22 of file getFile.sh.
Definition at line 24 of file getFile.sh.
then let COUNTER |
Definition at line 44 of file getFile.sh.
then typeset T BUFFER ARRAY eval ls $DIR $ID $TYPE _ {VERSION}/\*/\*/\* 2> /dev/null | while read BUFFER |
Definition at line 51 of file getFile.sh.
do set_variable A_ID |
Definition at line 53 of file getFile.sh.
Definition at line 77 of file getFile.sh.