diff --git a/.gitattributes b/.gitattributes index 8722e99620a8c4d51a646db4600d0ec3c3e70f28..efb25a5738c42cde6d1a5211d73d00348b022988 100644 --- a/.gitattributes +++ b/.gitattributes @@ -143,3 +143,5 @@ my_container_sandbox/workspace/anaconda3/lib/libnppicc.so.11 filter=lfs diff=lfs my_container_sandbox/workspace/anaconda3/lib/libstdc++.so filter=lfs diff=lfs merge=lfs -text my_container_sandbox/workspace/anaconda3/lib/libnppial.so.11 filter=lfs diff=lfs merge=lfs -text my_container_sandbox/workspace/anaconda3/lib/libaccinj64.so.11.3.111 filter=lfs diff=lfs merge=lfs -text +my_container_sandbox/workspace/anaconda3/lib/libyaml-0.so.2 filter=lfs diff=lfs merge=lfs -text +my_container_sandbox/workspace/anaconda3/lib/libnppial.so filter=lfs diff=lfs merge=lfs -text diff --git a/my_container_sandbox/workspace/anaconda3/bin/2to3-3.8 b/my_container_sandbox/workspace/anaconda3/bin/2to3-3.8 new file mode 100644 index 0000000000000000000000000000000000000000..2068f63db678e28fdd43e14cb88aff9914aa7aa6 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/2to3-3.8 @@ -0,0 +1,5 @@ +#!/workspace/anaconda3/bin/python3.8 +import sys +from lib2to3.main import main + +sys.exit(main("lib2to3.fixes")) diff --git a/my_container_sandbox/workspace/anaconda3/bin/accelerate b/my_container_sandbox/workspace/anaconda3/bin/accelerate new file mode 100644 index 0000000000000000000000000000000000000000..a87920482a7f4acd429b0c3f1d046014a3b7a605 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/accelerate @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from accelerate.commands.accelerate_cli import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/accelerate-launch b/my_container_sandbox/workspace/anaconda3/bin/accelerate-launch new file mode 100644 index 0000000000000000000000000000000000000000..4c5cb6672d4f898e17f183febcdee1f9b3537600 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/accelerate-launch @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from accelerate.commands.launch import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/activate b/my_container_sandbox/workspace/anaconda3/bin/activate new file mode 100644 index 0000000000000000000000000000000000000000..5d53c05913726e10481887a5e77b8a30bfea104a --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/activate @@ -0,0 +1,6 @@ +#!/bin/sh +_CONDA_ROOT="/workspace/anaconda3" +# Copyright (C) 2012 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +\. "$_CONDA_ROOT/etc/profile.d/conda.sh" || return $? +conda activate "$@" diff --git a/my_container_sandbox/workspace/anaconda3/bin/captoinfo b/my_container_sandbox/workspace/anaconda3/bin/captoinfo new file mode 100644 index 0000000000000000000000000000000000000000..62e7e5820434d888e735099535bb3927de194522 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/captoinfo differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/chardetect b/my_container_sandbox/workspace/anaconda3/bin/chardetect new file mode 100644 index 0000000000000000000000000000000000000000..004f78b8584d4e0916326875cf60abf427224b2c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/chardetect @@ -0,0 +1,11 @@ +#!/workspace/anaconda3/bin/python + +# -*- coding: utf-8 -*- +import re +import sys + +from chardet.cli.chardetect import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/conda b/my_container_sandbox/workspace/anaconda3/bin/conda new file mode 100644 index 0000000000000000000000000000000000000000..e17a6b22c12c75bd2b2fef3089964fbcf0de6d82 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/conda @@ -0,0 +1,13 @@ +#!/workspace/anaconda3/bin/python +# -*- coding: utf-8 -*- +import sys +# Before any more imports, leave cwd out of sys.path for internal 'conda shell.*' commands. +# see https://github.com/conda/conda/issues/6549 +if len(sys.argv) > 1 and sys.argv[1].startswith('shell.') and sys.path and sys.path[0] == '': + # The standard first entry in sys.path is an empty string, + # and os.path.abspath('') expands to os.getcwd(). + del sys.path[0] + +if __name__ == '__main__': + from conda.cli import main + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/convert-caffe2-to-onnx b/my_container_sandbox/workspace/anaconda3/bin/convert-caffe2-to-onnx new file mode 100644 index 0000000000000000000000000000000000000000..7e9d46babe29fd04e1c06d98b45707d1e99dae4d --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/convert-caffe2-to-onnx @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from caffe2.python.onnx.bin.conversion import caffe2_to_onnx +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(caffe2_to_onnx()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/convert-onnx-to-caffe2 b/my_container_sandbox/workspace/anaconda3/bin/convert-onnx-to-caffe2 new file mode 100644 index 0000000000000000000000000000000000000000..63a473806b0fc75775c6b9ba75d977c699cd384c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/convert-onnx-to-caffe2 @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from caffe2.python.onnx.bin.conversion import onnx_to_caffe2 +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(onnx_to_caffe2()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/cph b/my_container_sandbox/workspace/anaconda3/bin/cph new file mode 100644 index 0000000000000000000000000000000000000000..84ba746879f462a61b4ba83c387805adc0503d5c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/cph @@ -0,0 +1,10 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys + +from conda_package_handling.cli import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/deactivate b/my_container_sandbox/workspace/anaconda3/bin/deactivate new file mode 100644 index 0000000000000000000000000000000000000000..be7a15c7b39b2f1b771475d72d3b3820996e5184 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/deactivate @@ -0,0 +1,7 @@ +#!/bin/sh +_CONDA_ROOT="/workspace/anaconda3" +# Copyright (C) 2012 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +\echo >&2 "DeprecationWarning: 'source deactivate' is deprecated. Use 'conda deactivate'." +\. "$_CONDA_ROOT/etc/profile.d/conda.sh" || return $? +conda deactivate diff --git a/my_container_sandbox/workspace/anaconda3/bin/fonttools b/my_container_sandbox/workspace/anaconda3/bin/fonttools new file mode 100644 index 0000000000000000000000000000000000000000..eeb064588f3ca9b416571fc7c170fe2ae4dc0e4a --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/fonttools @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from fontTools.__main__ import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/futurize b/my_container_sandbox/workspace/anaconda3/bin/futurize new file mode 100644 index 0000000000000000000000000000000000000000..291b1381648338c2ca2756d2b3705d68162f8d38 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/futurize @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from libfuturize.main import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/google-oauthlib-tool b/my_container_sandbox/workspace/anaconda3/bin/google-oauthlib-tool new file mode 100644 index 0000000000000000000000000000000000000000..d430a6b74d97fc2a0b955b9c479334393224b5e5 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/google-oauthlib-tool @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from google_auth_oauthlib.tool.__main__ import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/huggingface-cli b/my_container_sandbox/workspace/anaconda3/bin/huggingface-cli new file mode 100644 index 0000000000000000000000000000000000000000..e9161ea173545c6be0183e6b83b5199f39b24f82 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/huggingface-cli @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from huggingface_hub.commands.huggingface_cli import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/idle3 b/my_container_sandbox/workspace/anaconda3/bin/idle3 new file mode 100644 index 0000000000000000000000000000000000000000..d34306c1be66312f728f54c2c2e845a803480fda --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/idle3 @@ -0,0 +1,5 @@ +#!/workspace/anaconda3/bin/python3.8 + +from idlelib.pyshell import main +if __name__ == '__main__': + main() diff --git a/my_container_sandbox/workspace/anaconda3/bin/idle3.8 b/my_container_sandbox/workspace/anaconda3/bin/idle3.8 new file mode 100644 index 0000000000000000000000000000000000000000..d34306c1be66312f728f54c2c2e845a803480fda --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/idle3.8 @@ -0,0 +1,5 @@ +#!/workspace/anaconda3/bin/python3.8 + +from idlelib.pyshell import main +if __name__ == '__main__': + main() diff --git a/my_container_sandbox/workspace/anaconda3/bin/imageio_remove_bin b/my_container_sandbox/workspace/anaconda3/bin/imageio_remove_bin new file mode 100644 index 0000000000000000000000000000000000000000..e580db391c992fd9547bef0fd7fd7b679e530b7a --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/imageio_remove_bin @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from imageio.__main__ import remove_bin_main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(remove_bin_main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/infocmp b/my_container_sandbox/workspace/anaconda3/bin/infocmp new file mode 100644 index 0000000000000000000000000000000000000000..10cf979c03f1dc317c4f2a48496d8574c3893d25 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/infocmp differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/infotocap b/my_container_sandbox/workspace/anaconda3/bin/infotocap new file mode 100644 index 0000000000000000000000000000000000000000..62e7e5820434d888e735099535bb3927de194522 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/infotocap differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzcmp b/my_container_sandbox/workspace/anaconda3/bin/lzcmp new file mode 100644 index 0000000000000000000000000000000000000000..3ba99d3c59bd1be00e46429250afd1cad8f00372 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/lzcmp @@ -0,0 +1,215 @@ +#!/bin/sh + +# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *cmp*) prog=xzcmp; cmp=${CMP:-cmp};; + *) prog=xzdiff; cmp=${DIFF:-diff};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... FILE1 [FILE2] +Compare FILE1 to FILE2, using their uncompressed contents if they are +compressed. If FILE2 is omitted, then the files compared are FILE1 and +FILE1 from which the compression format suffix has been stripped. + +Do comparisons like '$cmp' does. OPTIONs are the same as for '$cmp'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' + +while :; do + case $1 in + --h*) printf '%s\n' "$usage" || exit 2; exit;; + --v*) printf '%s\n' "$version" || exit 2; exit;; + --) shift; break;; + -*\'*) cmp="$cmp '"`printf '%sX\n' "$1" | sed "$escape"`;; + -?*) cmp="$cmp '$1'";; + *) break;; + esac + shift +done +cmp="$cmp --" + +for file; do + test "X$file" = X- || <"$file" || exit 2 +done + +# xz needs -qQ to ignore warnings like unsupported check type. +xz1="$xz -qQ" +xz2="$xz -qQ" +xz_status=0 +exec 3>&1 + +if test $# -eq 1; then + case $1 in + *[-.]xz | *[-.]lzma | *[-.]lz | *.t[lx]z) + ;; + *[-.]bz2 | *.tbz | *.tbz2) + xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) + xz1=gzip;; + *[-.]lzo | *.tzo) + xz1=lzop;; + *[-.]zst | *.tzst) + xz1='zstd -q';; + *) + printf '%s\n' "$0: $1: Unknown compressed file name suffix" >&2 + exit 2;; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *[-.]lzo | *[-.]zst) + FILE=`expr "X$1" : 'X\(.*\)[-.][abglmostxzZ2]*$'`;; + *.t[abglx]z) + FILE=`expr "X$1" : 'X\(.*[-.]t\)[abglx]z$'`ar;; + *.tbz2) + FILE=`expr "X$1" : 'X\(.*[-.]t\)bz2$'`ar;; + *.tzo) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zo$'`ar;; + *.tzst) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zst$'`ar;; + esac + xz_status=$( + exec 4>&1 + ($xz1 -cd -- "$1" 4>&-; echo $? >&4) 3>&- | eval "$cmp" - '"$FILE"' >&3 + ) +elif test $# -eq 2; then + case $1 in + *[-.]bz2 | *.tbz | *.tbz2) xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz1=gzip;; + *[-.]lzo | *.tzo) xz1=lzop;; + *[-.]zst | *.tzst) xz1='zstd -q';; + esac + case $2 in + *[-.]bz2 | *.tbz | *.tbz2) xz2=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz2=gzip;; + *[-.]lzo | *.tzo) xz2=lzop;; + *[-.]zst | *.tzst) xz2='zstd -q';; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + if test "$1$2" = --; then + xz_status=$( + exec 4>&1 + ($xz1 -cdf - 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - - >&3 + ) + elif # Reject Solaris 8's buggy /bin/bash 2.03. + echo X | (echo X | eval "$cmp" /dev/fd/5 - >/dev/null 2>&1) 5<&0; then + # NOTE: xz_status will contain two numbers. + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + ( ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- &3) 5<&0 + ) + else + F=`expr "/$2" : '.*/\(.*\)[-.][ablmotxz2]*$'` || F=$prog + tmp= + trap ' + test -n "$tmp" && rm -rf "$tmp" + (exit 2); exit 2 + ' HUP INT PIPE TERM 0 + if type mktemp >/dev/null 2>&1; then + # Note that FreeBSD's mktemp isn't fully compatible with + # the implementations from mktemp.org and GNU coreutils. + # It is important that the -t argument is the last argument + # and that no "--" is used between -t and the template argument. + # This way this command works on all implementations. + tmp=`mktemp -d -t "$prog.XXXXXXXXXX"` || exit 2 + else + # Fallback code if mktemp is missing. This isn't as + # robust as using mktemp since this doesn't try with + # different file names in case of a file name conflict. + # + # There's no need to save the original umask since + # we don't create any non-temp files. Note that using + # mkdir -m 0077 isn't secure since some mkdir implementations + # create the dir with the default umask and chmod the + # the dir afterwards. + umask 0077 + mkdir -- "${TMPDIR-/tmp}/$prog.$$" || exit 2 + tmp="${TMPDIR-/tmp}/$prog.$$" + fi + $xz2 -cdf -- "$2" > "$tmp/$F" || exit 2 + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$tmp/$F"' >&3 + ) + cmp_status=$? + rm -rf "$tmp" || xz_status=$? + trap - HUP INT PIPE TERM 0 + (exit $cmp_status) + fi;; + *) + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$2"' >&3 + );; + esac;; + *) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + xz_status=$( + exec 4>&1 + ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" '"$1"' - >&3 + );; + *) + eval "$cmp" '"$1"' '"$2"';; + esac;; + esac +else + printf '%s\n' "$0: Invalid number of operands; try \`${0##*/} --help' for help" >&2 + exit 2 +fi + +cmp_status=$? +for num in $xz_status ; do + # 0 from decompressor means successful decompression. SIGPIPE from + # decompressor is possible when diff or cmp exits before the whole file + # has been decompressed. In that case we want to retain the exit status + # from diff or cmp. Note that using "trap '' PIPE" is not possible + # because gzip changes its behavior (including exit status) if SIGPIPE + # is ignored. + test "$num" -eq 0 && continue + test "$num" -ge 128 \ + && test "$(kill -l "$num" 2> /dev/null)" = "PIPE" \ + && continue + exit 2 +done +exit $cmp_status diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzdiff b/my_container_sandbox/workspace/anaconda3/bin/lzdiff new file mode 100644 index 0000000000000000000000000000000000000000..3ba99d3c59bd1be00e46429250afd1cad8f00372 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/lzdiff @@ -0,0 +1,215 @@ +#!/bin/sh + +# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *cmp*) prog=xzcmp; cmp=${CMP:-cmp};; + *) prog=xzdiff; cmp=${DIFF:-diff};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... FILE1 [FILE2] +Compare FILE1 to FILE2, using their uncompressed contents if they are +compressed. If FILE2 is omitted, then the files compared are FILE1 and +FILE1 from which the compression format suffix has been stripped. + +Do comparisons like '$cmp' does. OPTIONs are the same as for '$cmp'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' + +while :; do + case $1 in + --h*) printf '%s\n' "$usage" || exit 2; exit;; + --v*) printf '%s\n' "$version" || exit 2; exit;; + --) shift; break;; + -*\'*) cmp="$cmp '"`printf '%sX\n' "$1" | sed "$escape"`;; + -?*) cmp="$cmp '$1'";; + *) break;; + esac + shift +done +cmp="$cmp --" + +for file; do + test "X$file" = X- || <"$file" || exit 2 +done + +# xz needs -qQ to ignore warnings like unsupported check type. +xz1="$xz -qQ" +xz2="$xz -qQ" +xz_status=0 +exec 3>&1 + +if test $# -eq 1; then + case $1 in + *[-.]xz | *[-.]lzma | *[-.]lz | *.t[lx]z) + ;; + *[-.]bz2 | *.tbz | *.tbz2) + xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) + xz1=gzip;; + *[-.]lzo | *.tzo) + xz1=lzop;; + *[-.]zst | *.tzst) + xz1='zstd -q';; + *) + printf '%s\n' "$0: $1: Unknown compressed file name suffix" >&2 + exit 2;; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *[-.]lzo | *[-.]zst) + FILE=`expr "X$1" : 'X\(.*\)[-.][abglmostxzZ2]*$'`;; + *.t[abglx]z) + FILE=`expr "X$1" : 'X\(.*[-.]t\)[abglx]z$'`ar;; + *.tbz2) + FILE=`expr "X$1" : 'X\(.*[-.]t\)bz2$'`ar;; + *.tzo) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zo$'`ar;; + *.tzst) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zst$'`ar;; + esac + xz_status=$( + exec 4>&1 + ($xz1 -cd -- "$1" 4>&-; echo $? >&4) 3>&- | eval "$cmp" - '"$FILE"' >&3 + ) +elif test $# -eq 2; then + case $1 in + *[-.]bz2 | *.tbz | *.tbz2) xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz1=gzip;; + *[-.]lzo | *.tzo) xz1=lzop;; + *[-.]zst | *.tzst) xz1='zstd -q';; + esac + case $2 in + *[-.]bz2 | *.tbz | *.tbz2) xz2=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz2=gzip;; + *[-.]lzo | *.tzo) xz2=lzop;; + *[-.]zst | *.tzst) xz2='zstd -q';; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + if test "$1$2" = --; then + xz_status=$( + exec 4>&1 + ($xz1 -cdf - 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - - >&3 + ) + elif # Reject Solaris 8's buggy /bin/bash 2.03. + echo X | (echo X | eval "$cmp" /dev/fd/5 - >/dev/null 2>&1) 5<&0; then + # NOTE: xz_status will contain two numbers. + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + ( ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- &3) 5<&0 + ) + else + F=`expr "/$2" : '.*/\(.*\)[-.][ablmotxz2]*$'` || F=$prog + tmp= + trap ' + test -n "$tmp" && rm -rf "$tmp" + (exit 2); exit 2 + ' HUP INT PIPE TERM 0 + if type mktemp >/dev/null 2>&1; then + # Note that FreeBSD's mktemp isn't fully compatible with + # the implementations from mktemp.org and GNU coreutils. + # It is important that the -t argument is the last argument + # and that no "--" is used between -t and the template argument. + # This way this command works on all implementations. + tmp=`mktemp -d -t "$prog.XXXXXXXXXX"` || exit 2 + else + # Fallback code if mktemp is missing. This isn't as + # robust as using mktemp since this doesn't try with + # different file names in case of a file name conflict. + # + # There's no need to save the original umask since + # we don't create any non-temp files. Note that using + # mkdir -m 0077 isn't secure since some mkdir implementations + # create the dir with the default umask and chmod the + # the dir afterwards. + umask 0077 + mkdir -- "${TMPDIR-/tmp}/$prog.$$" || exit 2 + tmp="${TMPDIR-/tmp}/$prog.$$" + fi + $xz2 -cdf -- "$2" > "$tmp/$F" || exit 2 + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$tmp/$F"' >&3 + ) + cmp_status=$? + rm -rf "$tmp" || xz_status=$? + trap - HUP INT PIPE TERM 0 + (exit $cmp_status) + fi;; + *) + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$2"' >&3 + );; + esac;; + *) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + xz_status=$( + exec 4>&1 + ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" '"$1"' - >&3 + );; + *) + eval "$cmp" '"$1"' '"$2"';; + esac;; + esac +else + printf '%s\n' "$0: Invalid number of operands; try \`${0##*/} --help' for help" >&2 + exit 2 +fi + +cmp_status=$? +for num in $xz_status ; do + # 0 from decompressor means successful decompression. SIGPIPE from + # decompressor is possible when diff or cmp exits before the whole file + # has been decompressed. In that case we want to retain the exit status + # from diff or cmp. Note that using "trap '' PIPE" is not possible + # because gzip changes its behavior (including exit status) if SIGPIPE + # is ignored. + test "$num" -eq 0 && continue + test "$num" -ge 128 \ + && test "$(kill -l "$num" 2> /dev/null)" = "PIPE" \ + && continue + exit 2 +done +exit $cmp_status diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzgrep b/my_container_sandbox/workspace/anaconda3/bin/lzgrep new file mode 100644 index 0000000000000000000000000000000000000000..354d71a8869653eaf1cf6333528dac27112715d4 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/lzgrep @@ -0,0 +1,298 @@ +#!/bin/sh + +# xzgrep -- a wrapper around a grep program that decompresses files as needed +# Adapted from a version sent by Charles Levert + +# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *egrep*) prog=xzegrep; grep=${GREP:-grep -E};; + *fgrep*) prog=xzfgrep; grep=${GREP:-grep -F};; + *) prog=xzgrep; grep=${GREP:-grep};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... +Look for instances of PATTERN in the input FILEs, using their +uncompressed contents if they are compressed. + +OPTIONs are the same as for '$grep'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' +operands= +have_pat=0 +files_with_matches=0 +files_without_matches=0 +no_filename=0 +with_filename=0 + +# See if -H and --label options are supported (GNU and *BSDs). +if test f:x = "$(eval "echo x | $grep -H --label=f x 2> /dev/null")"; then + grep_supports_label=1 +else + grep_supports_label=0 +fi + +while test $# -ne 0; do + option=$1 + shift + optarg= + + case $option in + (-[0123456789abcdEFGhHiIKlLnoPqrRsTuUvVwxyzZ]*[!0123456789]*) + # Something like -Fiv was specified, that is, $option contains more + # than one option of which the first option (in this example -F) + # doesn't take an argument. Split the first option into a standalone + # argument and continue parsing the rest of the options (in this example, + # replace -Fiv with -iv in the argument list and set option=-F). + # + # If there are digits [0-9] they are treated as if they were a single + # option character because this syntax is an alias for -C for GNU grep. + # For example, "grep -25F" is equivalent to "grep -C25 -F". If only + # digits are specified like "grep -25" we don't get here because the + # above pattern in the case-statement doesn't match such strings. + arg2=-\'$(LC_ALL=C expr "X${option}X" : 'X-.[0-9]*\(.*\)' | + LC_ALL=C sed "$escape") + eval "set -- $arg2 "'${1+"$@"}' + option=$(LC_ALL=C expr "X$option" : 'X\(-.[0-9]*\)');; + (--binary-*=* | --[lm]a*=* | --reg*=*) + # These options require an argument and an argument has been provided + # with the --foo=argument syntax. All is good. + ;; + (-[ABCDefmX] | --binary-* | --file | --[lm]a* | --reg*) + # These options require an argument which should now be in $1. + # If it isn't, display an error and exit. + case ${1?"$option option requires an argument"} in + (*\'*) + optarg=" '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + optarg=" '$1'";; + esac + shift;; + (--) + break;; + (-?*) + ;; + (*) + case $option in + (*\'*) + operands="$operands '"$(printf '%sX\n' "$option" | + LC_ALL=C sed "$escape");; + (*) + operands="$operands '$option'";; + esac + ${POSIXLY_CORRECT+break} + continue;; + esac + + case $option in + (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) + printf >&2 '%s: %s: Option not supported\n' "$0" "$option" + exit 2;; + (-[ef]* | --file | --file=* | --reg*) + have_pat=1;; + (--h | --he | --hel | --help) + printf '%s\n' "$usage" || exit 2 + exit;; + (-H | --wi | --wit | --with | --with- | --with-f | --with-fi \ + | --with-fil | --with-file | --with-filen | --with-filena | --with-filenam \ + | --with-filename) + with_filename=1 + continue;; + (-l | --files-with-*) + files_with_matches=1 + continue;; + (-L | --files-witho*) + files_without_matches=1 + continue;; + (-h | --no-f*) + no_filename=1;; + (-V | --v | --ve | --ver | --vers | --versi | --versio | --version) + printf '%s\n' "$version" || exit 2 + exit;; + esac + + case $option in + (*\'?*) + option=\'$(printf '%sX\n' "$option" | LC_ALL=C sed "$escape");; + (*) + option="'$option'";; + esac + + grep="$grep $option$optarg" +done + +eval "set -- $operands "'${1+"$@"}' + +if test $have_pat -eq 0; then + case ${1?"Missing pattern; try \`${0##*/} --help' for help"} in + (*\'*) + grep="$grep -e '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + grep="$grep -e '$1'";; + esac + shift +fi + +if test $# -eq 0; then + set -- - +fi + +exec 3>&1 + +# res=1 means that no file matched yet +res=1 + +for i; do + case $i in + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) uncompress="gzip -cdf";; + *[-.]bz2 | *[-.]tbz | *.tbz2) uncompress="bzip2 -cdf";; + *[-.]lzo | *[-.]tzo) uncompress="lzop -cdf";; + *[-.]zst | *[-.]tzst) uncompress="zstd -cdfq";; # zstd needs -q. + *) uncompress="$xz -cdfqQ";; # -qQ to ignore warnings like unsupp. check. + esac + # xz_status will hold the decompressor's exit status. + # Exit status of grep (and in rare cases, printf or sed) is + # available as the exit status of this assignment command. + xz_status=$( + exec 5>&1 + ($uncompress -- "$i" 5>&-; echo $? >&5) 3>&- | + if test $files_with_matches -eq 1; then + eval "$grep -q" && { printf '%s\n' "$i" || exit 2; } + elif test $files_without_matches -eq 1; then + eval "$grep -q" || { + r=$? + if test $r -eq 1; then + printf '%s\n' "$i" || r=2 + fi + exit $r + } + elif test $with_filename -eq 0 && + { test $# -eq 1 || test $no_filename -eq 1; }; then + eval "$grep" + elif test $grep_supports_label -eq 1; then + # The grep implementation in use allows us to specify the filename + # that grep will prefix to the output lines. This is faster and + # less prone to security bugs than the fallback method that uses sed. + # This also avoids confusing output with GNU grep >= 3.5 (2020-09-27) + # which prints "binary file matches" to stderr instead of stdout. + # + # If reading from stdin, let grep use whatever name it prefers for + # stdin. With GNU grep it is a locale-specific translated string. + if test "x$i" = "x-"; then + eval "$grep -H" + else + eval "$grep -H --label \"\$i\"" + fi + else + # Append a colon so that the last character will never be a newline + # which would otherwise get lost in shell command substitution. + i="$i:" + + # Escape & \ | and newlines only if such characters are present + # (speed optimization). + case $i in + (*' +'* | *'&'* | *'\'* | *'|'*) + # If sed fails, set i to a known safe string to ensure that + # failing sed did not create a half-escaped dangerous string. + i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/') || + i='(unknown filename):';; + esac + + # $i already ends with a colon so do not add it here. + sed_script="s|^|$i|" + + # If grep or sed fails, pick the larger value of the two exit statuses. + # If sed fails, use at least 2 since we use >= 2 to indicate errors. + r=$( + exec 4>&1 + (eval "$grep" 4>&-; echo $? >&4) 3>&- | + LC_ALL=C sed "$sed_script" >&3 4>&- + ) || { + sed_status=$? + test "$sed_status" -lt 2 && sed_status=2 + test "$r" -lt "$sed_status" && r=$sed_status + } + exit $r + fi >&3 5>&- + ) + r=$? + + # If grep or sed or other non-decompression command failed with a signal, + # exit immediately and ignore the possible remaining files. + # + # NOTE: Instead of 128 + signal_number, some shells use + # 256 + signal_number (ksh) or 384 + signal_number (yash). + # This is fine for us since their "exit" and "kill -l" commands take + # this into account. (At least the versions I tried do but there is + # a report of an old ksh variant whose "exit" truncates the exit status + # to 8 bits without any special handling for values indicating a signal.) + test "$r" -ge 128 && exit "$r" + + if test -z "$xz_status"; then + # Something unusual happened, for example, we got a signal and + # the exit status of the decompressor was never echoed and thus + # $xz_status is empty. Exit immediately and ignore the possible + # remaining files. + exit 2 + elif test "$xz_status" -ge 128; then + # The decompressor died due to a signal. SIGPIPE is ignored since it can + # occur if grep exits before the whole file has been decompressed (grep -q + # can do that). If the decompressor died with some other signal, exit + # immediately and ignore the possible remaining files. + test "$(kill -l "$xz_status" 2> /dev/null)" != "PIPE" && exit "$xz_status" + elif test "$xz_status" -gt 0; then + # Decompression failed but we will continue with the remaining + # files anwyway. Set exit status to at least 2 to indicate an error. + test "$r" -lt 2 && r=2 + fi + + # Since res=1 is the initial value, we only need to care about + # matches (r == 0) and errors (r >= 2) here; r == 1 can be ignored. + if test "$r" -ge 2; then + # An error occurred in decompressor, grep, or some other command. Update + # res unless a larger error code has been seen with an earlier file. + test "$res" -lt "$r" && res=$r + elif test "$r" -eq 0; then + # grep found a match and no errors occurred. Update res if no errors have + # occurred with earlier files. + test "$res" -eq 1 && res=0 + fi +done + +# 0: At least one file matched and no errors occurred. +# 1: No matches were found and no errors occurred. +# >=2: Error. It's unknown if matches were found. +exit "$res" diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzless b/my_container_sandbox/workspace/anaconda3/bin/lzless new file mode 100644 index 0000000000000000000000000000000000000000..0258263a47fd9ff2707564e1682a75c9201a6a1c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/lzless @@ -0,0 +1,59 @@ +#!/bin/sh + +# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation + +# The original version for gzip was written by Paul Eggert. +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. +xz='xz --format=auto' + +version='xzless (XZ Utils) 5.4.6' + +usage="Usage: ${0##*/} [OPTION]... [FILE]... +Like 'less', but operate on the uncompressed contents of xz compressed FILEs. + +Options are the same as for 'less'. + +Report bugs to ." + +case $1 in + --help) printf '%s\n' "$usage" || exit 2; exit;; + --version) printf '%s\n' "$version" || exit 2; exit;; +esac + +if test "${LESSMETACHARS+set}" != set; then + # Work around a bug in less 394 and earlier; + # it mishandles the metacharacters '$%=~'. + space=' ' + tab=' ' + nl=' +' + LESSMETACHARS="$space$tab$nl'"';*?"()<>[|&^`#\$%=~' +fi + +if test "$(less -V | { read _ ver _ && echo ${ver%%.*}; })" -ge 429; then + # less 429 or later: LESSOPEN pipe will be used on + # standard input if $LESSOPEN begins with |-. + LESSOPEN="|-$xz -cdfqQ -- %s" +else + LESSOPEN="|$xz -cdfqQ -- %s" +fi +export LESSMETACHARS LESSOPEN + +exec less "$@" diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzmadec b/my_container_sandbox/workspace/anaconda3/bin/lzmadec new file mode 100644 index 0000000000000000000000000000000000000000..23fa9cde4b8f03f5b518d0bef583c7b65f3a87e8 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/lzmadec differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/lzmore b/my_container_sandbox/workspace/anaconda3/bin/lzmore new file mode 100644 index 0000000000000000000000000000000000000000..65918b3f7d003019a4a4f5723c58818b15aec062 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/lzmore @@ -0,0 +1,79 @@ +#!/bin/sh + +# Copyright (C) 2001, 2002, 2007 Free Software Foundation +# Copyright (C) 1992, 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. +xz='xz --format=auto' + +version='xzmore (XZ Utils) 5.4.6' + +usage="Usage: ${0##*/} [OPTION]... [FILE]... +Like 'more', but operate on the uncompressed contents of xz compressed FILEs. + +Report bugs to ." + +case $1 in + --help) printf '%s\n' "$usage" || exit 2; exit;; + --version) printf '%s\n' "$version" || exit 2; exit;; +esac + +oldtty=`stty -g 2>/dev/null` +if stty -cbreak 2>/dev/null; then + cb='cbreak'; ncb='-cbreak' +else + # 'stty min 1' resets eof to ^a on both SunOS and SysV! + cb='min 1 -icanon'; ncb='icanon eof ^d' +fi +if test $? -eq 0 && test -n "$oldtty"; then + trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15 +else + trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15 +fi + +if test $# = 0; then + if test -t 0; then + printf '%s\n' "$usage"; exit 1 + else + $xz -cdfqQ | eval "${PAGER:-more}" + fi +else + FIRST=1 + for FILE; do + < "$FILE" || continue + if test $FIRST -eq 0; then + printf "%s--More--(Next file: %s)" "" "$FILE" + stty $cb -echo 2>/dev/null + ANS=`dd bs=1 count=1 2>/dev/null` + stty $ncb echo 2>/dev/null + echo " " + case "$ANS" in + [eq]) exit;; + esac + fi + if test "$ANS" != 's'; then + printf '%s\n' "------> $FILE <------" + $xz -cdfqQ -- "$FILE" | eval "${PAGER:-more}" + fi + if test -t 1; then + FIRST=0 + fi + done +fi diff --git a/my_container_sandbox/workspace/anaconda3/bin/ncursesw6-config b/my_container_sandbox/workspace/anaconda3/bin/ncursesw6-config new file mode 100644 index 0000000000000000000000000000000000000000..8270f81311a64170436b429486d9b855cc237b3d --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/ncursesw6-config @@ -0,0 +1,331 @@ +#!/bin/sh +# $Id: ncurses-config.in,v 1.52 2022/07/26 21:36:28 tom Exp $ +############################################################################## +# Copyright 2018-2021,2022 Thomas E. Dickey # +# Copyright 2006-2015,2017 Free Software Foundation, Inc. # +# # +# Permission is hereby granted, free of charge, to any person obtaining a # +# copy of this software and associated documentation files (the "Software"), # +# to deal in the Software without restriction, including without limitation # +# the rights to use, copy, modify, merge, publish, distribute, distribute # +# with modifications, sublicense, and/or sell copies of the Software, and to # +# permit persons to whom the Software is furnished to do so, subject to the # +# following conditions: # +# # +# The above copyright notice and this permission notice shall be included in # +# all copies or substantial portions of the Software. # +# # +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # +# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # +# DEALINGS IN THE SOFTWARE. # +# # +# Except as contained in this notice, the name(s) of the above copyright # +# holders shall not be used in advertising or otherwise to promote the sale, # +# use or other dealings in this Software without prior written # +# authorization. # +############################################################################## +# +# Author: Thomas E. Dickey, 2006-on + +LANG=C; export LANG +LANGUAGE=C; export LANGUAGE +LC_ALL=C; export LC_ALL +LC_CTYPE=C; export LC_CTYPE + +prefix="/workspace/anaconda3" +exec_prefix="${prefix}" + +bindir="${exec_prefix}/bin" +includedir="${prefix}/include" +libdir="${exec_prefix}/lib" +datarootdir="${prefix}/share" +datadir="${datarootdir}" +mandir="${datarootdir}/man" + +THIS="ncursesw" +TINFO_LIB="tinfow" +RPATH_LIST="${libdir}" + +includesubdir="${prefix}/include/${THIS}" + +# Ensure that RPATH_LIST contains only absolute pathnames, if it is nonempty. +# We cannot filter it out within the build-process since the variable is used +# in some special cases of installation using a relative path. +if [ -n "$RPATH_LIST" ] +then + save_IFS="$IFS" + IFS=':' + filtered= + for item in $RPATH_LIST + do + case "$item" in + ./*|../*|*/..|*/../*) + ;; + *) + [ -n "$filtered" ] && filtered="${filtered}:" + filtered="${filtered}${item}" + ;; + esac + done + IFS="$save_IFS" + # if the result is empty, there is little we can do to fix it + RPATH_LIST="$filtered" +fi + +# with --disable-overwrite, we installed into a subdirectory, but transformed +# the headers to include like this: +# +if [ xno = xno ]; then + case $includedir in + $prefix/include/ncursesw) + includedir=`echo "$includedir" | sed -e 's,/[^/]*$,,'` + ;; + esac +fi + +LIBS="" +if [ "tinfo" = "ncurses" ]; then + LIBS="-l${THIS} $LIBS" +else + LIBS="-l${THIS} -l${TINFO_LIB} $LIBS" +fi + +# Ignore -L options which do not correspond to an actual directory, or which +# are standard library directories (i.e., the linker is supposed to search +# those directories). +# +# There is no portable way to find the list of standard library directories. +# Require a POSIX shell anyway, to keep this simple. +lib_flags= +for opt in -L$libdir -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/workspace/anaconda3/lib -Wl,-rpath-link,/workspace/anaconda3/lib -L/workspace/anaconda3/lib $LIBS +do + case $opt in + -specs*) # ignore linker specs-files which were used to build library + continue + ;; + -Wl,-z,*) # ignore flags used to manipulate shared image + continue + ;; + -Wl,--dynamic-linker*) # ignore ELF interpreter + continue + ;; + -Wl,--as-needed|-Wl,--build-id=*|-Wl,-dT,*|-Wl,-T,*) + continue + ;; + -L*) + lib_check=`echo "x$opt" | sed -e 's/^.-L//'` + [ -d "$lib_check" ] || continue + case "$lib_check" in + /usr/local/lib64|/lib64|/usr/lib64|/usr/local/lib|/lib|/usr/lib) # skip standard libdir + if [ "$lib_check" = "$libdir" ] + then + lib_first=yes + IFS_save="$IFS" + IFS='|' + LIBDIRS="/usr/local/lib64|/lib64|/usr/lib64|/usr/local/lib|/lib|/usr/lib" + for lib_check in $LIBDIRS + do + if [ -d "$lib_check" ] + then + if [ "$lib_check" != "$libdir" ] + then + lib_first=no + fi + break + fi + done + IFS="$IFS_save" + [ $lib_first = yes ] && continue + found=no + for check in $lib_flags + do + if [ "x$check" = "x$opt" ] + then + found=yes + break + fi + done + [ $found = yes ] && continue + : + else + continue + fi + ;; + *) + found=no + for check in $lib_flags + do + if [ "x$check" = "x$opt" ] + then + found=yes + break + fi + done + [ $found = yes ] && continue + ;; + esac + ;; + esac + lib_flags="$lib_flags $opt" +done + +[ $# = 0 ] && exec /bin/sh "$0" --error + +while [ $# -gt 0 ]; do + case "$1" in + # basic configuration + --prefix) + echo "$prefix" + ;; + --exec-prefix) + echo "$exec_prefix" + ;; + # compile/link + --cflags) + INCS=" -D_GNU_SOURCE -DNCURSES_WIDECHAR" + if [ "xno" = xno ]; then + INCS="$INCS -I${includesubdir}" + fi + if [ "${includedir}" != /usr/include ]; then + INCS="$INCS -I${includedir}" + fi + sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO + $INCS +ENDECHO + ;; + --libs) + OPTS= + for opt in $lib_flags + do + [ -n "$OPTS" ] && OPTS="$OPTS " + OPTS="${OPTS}${opt}" + done + printf '%s\n' "$OPTS" + ;; + --libs-only-L) + OPTS= + for opt in $lib_flags + do + case "x$opt" in + x-L*) + [ -n "$OPTS" ] && OPTS="$OPTS " + OPTS="${OPTS}${opt}" + ;; + esac + done + printf '%s\n' "$OPTS" + ;; + --libs-only-l) + OPTS= + for opt in $lib_flags + do + case "x$opt" in + x-l*) + [ -n "$OPTS" ] && OPTS="$OPTS " + OPTS="${OPTS}${opt}" + ;; + esac + done + printf '%s\n' "$OPTS" + ;; + --libs-only-other) + OPTS= + for opt in $lib_flags + do + case "x$opt" in + x-[lL]*) + ;; + *) + [ -n "$OPTS" ] && OPTS="$OPTS " + OPTS="${OPTS}${opt}" + ;; + esac + done + printf '%s\n' "$OPTS" + ;; + # identification + --version) + echo "6.4.20221231" + ;; + --abi-version) + echo "6" + ;; + --mouse-version) + echo "2" + ;; + # locations + --bindir) + echo "${bindir}" + ;; + --datadir) + echo "${datadir}" + ;; + --includedir) + INCS= + if [ "xno" = xno ]; then + INCS="${includesubdir}" + elif [ "${includedir}" != /usr/include ]; then + INCS="${includedir}" + fi + echo "$INCS" + ;; + --libdir) + echo "${libdir}" + ;; + --mandir) + echo "${mandir}" + ;; + --terminfo) + echo "/workspace/anaconda3/share/terminfo" + ;; + --terminfo-dirs) + echo "/workspace/anaconda3/share/terminfo" + ;; + --termpath) + echo "/etc/termcap:/usr/share/misc/termcap" + ;; + # general info + --help) + cat <&2 + exit 1 + ;; + esac + shift +done +# vi:ts=4 sw=4 +# vile:shmode diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-conform b/my_container_sandbox/workspace/anaconda3/bin/nib-conform new file mode 100644 index 0000000000000000000000000000000000000000..520889db3b39dcd1de4aeaefd67442e85db45e8c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-conform @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.conform import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-convert b/my_container_sandbox/workspace/anaconda3/bin/nib-convert new file mode 100644 index 0000000000000000000000000000000000000000..a0de6d9bc69cfab49a6e1582da753763795720fe --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-convert @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.convert import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-dicomfs b/my_container_sandbox/workspace/anaconda3/bin/nib-dicomfs new file mode 100644 index 0000000000000000000000000000000000000000..79bfd934ea9ac6b62ff3ae4150b736f3be4e9f0b --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-dicomfs @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.dicomfs import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-ls b/my_container_sandbox/workspace/anaconda3/bin/nib-ls new file mode 100644 index 0000000000000000000000000000000000000000..b29708885afe1618df331d01d1a1fbdc7f26f83b --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-ls @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.ls import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-nifti-dx b/my_container_sandbox/workspace/anaconda3/bin/nib-nifti-dx new file mode 100644 index 0000000000000000000000000000000000000000..a51938c932cf79cfd17be550c2746289dc980071 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-nifti-dx @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.nifti_dx import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-stats b/my_container_sandbox/workspace/anaconda3/bin/nib-stats new file mode 100644 index 0000000000000000000000000000000000000000..64d55e1744b27ed87ed87bae06a45783554da1fe --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-stats @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.stats import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/nib-trk2tck b/my_container_sandbox/workspace/anaconda3/bin/nib-trk2tck new file mode 100644 index 0000000000000000000000000000000000000000..aedb7cdf6de59b2a5e5abbbd4aa226062a868b91 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/nib-trk2tck @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.trk2tck import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/normalizer b/my_container_sandbox/workspace/anaconda3/bin/normalizer new file mode 100644 index 0000000000000000000000000000000000000000..70903397e0a57f5f117cb7aa9aeecfedd134503f --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/normalizer @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from charset_normalizer.cli.normalizer import cli_detect +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli_detect()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/parrec2nii b/my_container_sandbox/workspace/anaconda3/bin/parrec2nii new file mode 100644 index 0000000000000000000000000000000000000000..bb13c7431137199348cbf22a9d1fb8aab9f93016 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/parrec2nii @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from nibabel.cmdline.parrec2nii import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pasteurize b/my_container_sandbox/workspace/anaconda3/bin/pasteurize new file mode 100644 index 0000000000000000000000000000000000000000..d15a8809e75642884f62d98148d405319d7a6936 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pasteurize @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from libpasteurize.main import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pip b/my_container_sandbox/workspace/anaconda3/bin/pip new file mode 100644 index 0000000000000000000000000000000000000000..0e444cad1ad42b56d2fb6531250e593113b4a1c5 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pip @@ -0,0 +1,10 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys + +from pip._internal.cli.main import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pip3 b/my_container_sandbox/workspace/anaconda3/bin/pip3 new file mode 100644 index 0000000000000000000000000000000000000000..0e444cad1ad42b56d2fb6531250e593113b4a1c5 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pip3 @@ -0,0 +1,10 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys + +from pip._internal.cli.main import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pycodestyle b/my_container_sandbox/workspace/anaconda3/bin/pycodestyle new file mode 100644 index 0000000000000000000000000000000000000000..a9f649643b2db131334928f60ac7d96fe9bd143a --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pycodestyle @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from pycodestyle import _main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(_main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pydoc b/my_container_sandbox/workspace/anaconda3/bin/pydoc new file mode 100644 index 0000000000000000000000000000000000000000..8d4c2184fdb420760312767874d2c3244bc3ed43 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pydoc @@ -0,0 +1,5 @@ +#!/workspace/anaconda3/bin/python3.8 + +import pydoc +if __name__ == '__main__': + pydoc.cli() diff --git a/my_container_sandbox/workspace/anaconda3/bin/pydoc3.8 b/my_container_sandbox/workspace/anaconda3/bin/pydoc3.8 new file mode 100644 index 0000000000000000000000000000000000000000..8d4c2184fdb420760312767874d2c3244bc3ed43 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pydoc3.8 @@ -0,0 +1,5 @@ +#!/workspace/anaconda3/bin/python3.8 + +import pydoc +if __name__ == '__main__': + pydoc.cli() diff --git a/my_container_sandbox/workspace/anaconda3/bin/pyftmerge b/my_container_sandbox/workspace/anaconda3/bin/pyftmerge new file mode 100644 index 0000000000000000000000000000000000000000..e5fc8d5e67b72251102333d83ab0bdeaf246a92d --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pyftmerge @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from fontTools.merge import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pyftsubset b/my_container_sandbox/workspace/anaconda3/bin/pyftsubset new file mode 100644 index 0000000000000000000000000000000000000000..522f4f289ac9882261adba0843abbe8a606e06a1 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pyftsubset @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from fontTools.subset import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pygrun b/my_container_sandbox/workspace/anaconda3/bin/pygrun new file mode 100644 index 0000000000000000000000000000000000000000..967710a80ef2ec12d59016b8b141c9fd6b66a882 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pygrun @@ -0,0 +1,164 @@ +#!/workspace/anaconda3/bin/python3.8 +__author__ = 'jszheng' +import optparse +import sys +import os +import importlib +from antlr4 import * + + +# this is a python version of TestRig +def beautify_lisp_string(in_string): + indent_size = 3 + add_indent = ' '*indent_size + out_string = in_string[0] # no indent for 1st ( + indent = '' + for i in range(1, len(in_string)): + if in_string[i] == '(' and in_string[i+1] != ' ': + indent += add_indent + out_string += "\n" + indent + '(' + elif in_string[i] == ')': + out_string += ')' + if len(indent) > 0: + indent = indent.replace(add_indent, '', 1) + else: + out_string += in_string[i] + return out_string + + +if __name__ == '__main__': + + ############################################################# + # parse options + # not support -gui -encoding -ps + ############################################################# + usage = "Usage: %prog [options] Grammar_Name Start_Rule" + parser = optparse.OptionParser(usage=usage) + # parser.add_option('-t', '--tree', + # dest="out_file", + # default="default.out", + # help='set output file name', + # ) + parser.add_option('-t', '--tree', + default=False, + action='store_true', + help='Print AST tree' + ) + parser.add_option('-k', '--tokens', + dest="token", + default=False, + action='store_true', + help='Show Tokens' + ) + parser.add_option('-s', '--sll', + dest="sll", + default=False, + action='store_true', + help='Show SLL' + ) + parser.add_option('-d', '--diagnostics', + dest="diagnostics", + default=False, + action='store_true', + help='Enable diagnostics error listener' + ) + parser.add_option('-a', '--trace', + dest="trace", + default=False, + action='store_true', + help='Enable Trace' + ) + + options, remainder = parser.parse_args() + if len(remainder) < 2: + print('ERROR: You have to provide at least 2 arguments!') + parser.print_help() + exit(1) + else: + grammar = remainder.pop(0) + start_rule = remainder.pop(0) + file_list = remainder + + ############################################################# + # check and load antlr generated files + ############################################################# + # dynamic load the module and class + lexerName = grammar + 'Lexer' + parserName = grammar + 'Parser' + # check if the generate file exist + lexer_file = lexerName + '.py' + parser_file = parserName + '.py' + if not os.path.exists(lexer_file): + print("[ERROR] Can't find lexer file {}!".format(lexer_file)) + print(os.path.realpath('.')) + exit(1) + if not os.path.exists(parser_file): + print("[ERROR] Can't find parser file {}!".format(lexer_file)) + print(os.path.realpath('.')) + exit(1) + + # current directory is where the generated file loaded + # the script might be in different place. + sys.path.append('.') + # print(sys.path) + + # print("Load Lexer {}".format(lexerName)) + module_lexer = __import__(lexerName, globals(), locals(), lexerName) + class_lexer = getattr(module_lexer, lexerName) + # print(class_lexer) + + # print("Load Parser {}".format(parserName)) + module_parser = __import__(parserName, globals(), locals(), parserName) + class_parser = getattr(module_parser, parserName) + # print(class_parser) + + ############################################################# + # main process steps. + ############################################################# + def process(input_stream, class_lexer, class_parser): + lexer = class_lexer(input_stream) + token_stream = CommonTokenStream(lexer) + token_stream.fill() + if options.token: # need to show token + for tok in token_stream.tokens: + print(tok) + if start_rule == 'tokens': + return + + parser = class_parser(token_stream) + + if options.diagnostics: + parser.addErrorListener(DiagnosticErrorListener()) + parser._interp.predictionMode = PredictionMode.LL_EXACT_AMBIG_DETECTION + if options.tree: + parser.buildParseTrees = True + if options.sll: + parser._interp.predictionMode = PredictionMode.SLL + #parser.setTokenStream(token_stream) + parser.setTrace(options.trace) + if hasattr(parser, start_rule): + func_start_rule = getattr(parser, start_rule) + parser_ret = func_start_rule() + if options.tree: + lisp_tree_str = parser_ret.toStringTree(recog=parser) + print(beautify_lisp_string(lisp_tree_str)) + else: + print("[ERROR] Can't find start rule '{}' in parser '{}'".format(start_rule, parserName)) + + ############################################################# + # use stdin if not provide file as input stream + ############################################################# + if len(file_list) == 0: + input_stream = InputStream(sys.stdin.read()) + process(input_stream, class_lexer, class_parser) + exit(0) + + ############################################################# + # iterate all input file + ############################################################# + for file_name in file_list: + if os.path.exists(file_name) and os.path.isfile(file_name): + input_stream = FileStream(file_name) + process(input_stream, class_lexer, class_parser) + else: + print("[ERROR] file {} not exist".format(os.path.normpath(file_name))) diff --git a/my_container_sandbox/workspace/anaconda3/bin/pyrsa-encrypt b/my_container_sandbox/workspace/anaconda3/bin/pyrsa-encrypt new file mode 100644 index 0000000000000000000000000000000000000000..ad7c15a8e26a53ed5825ed3fe7fced2f38a90fec --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/pyrsa-encrypt @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from rsa.cli import encrypt +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(encrypt()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/python3-config b/my_container_sandbox/workspace/anaconda3/bin/python3-config new file mode 100644 index 0000000000000000000000000000000000000000..7093f31d5a81fbbdf725e7e5f65e46e8c4c77fcd --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/python3-config @@ -0,0 +1,116 @@ +#!/bin/sh + +# Keep this script in sync with python-config.in + +exit_with_usage () +{ + echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir|--embed" + exit $1 +} + +if [ "$1" = "" ] ; then + exit_with_usage 1 +fi + +# Returns the actual prefix where this script was installed to. +installed_prefix () +{ + RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) + if which readlink >/dev/null 2>&1 ; then + if readlink -f "$RESULT" >/dev/null 2>&1; then + RESULT=$(readlink -f "$RESULT") + fi + fi + echo $RESULT +} + +prefix_real=$(installed_prefix "$0") + +# Use sed to fix paths from their built-to locations to their installed-to +# locations. Keep prefix & exec_prefix using their original values in case +# they are referenced in other configure variables, to prevent double +# substitution, issue #22140. +prefix="/workspace/anaconda3" +exec_prefix="${prefix}" +exec_prefix_real=${prefix_real} +includedir=$(echo "${prefix}/include" | sed "s#$prefix#$prefix_real#") +libdir=$(echo "${exec_prefix}/lib" | sed "s#$prefix#$prefix_real#") +CFLAGS=$(echo "-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -ffunction-sections -pipe -isystem /workspace/anaconda3/include -fdebug-prefix-map=/croot/python-split_1694437953337/work=/usr/local/src/conda/python-3.8.18 -fdebug-prefix-map=/workspace/anaconda3=/usr/local/src/conda-prefix -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -flto" | sed "s#$prefix#$prefix_real#") +VERSION="3.8" +LIBM="-lm" +LIBC="" +SYSLIBS="$LIBM $LIBC" +ABIFLAGS="" +LIBS=" -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS" +LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} -lcrypt -lpthread -ldl -lutil -lm $SYSLIBS" +BASECFLAGS=" -Wno-unused-result -Wsign-compare" +LDLIBRARY="libpython${VERSION}${ABIFLAGS}.a" +OPT="-DNDEBUG -fwrapv -O3 -Wall" +PY_ENABLE_SHARED="0" +LDVERSION="${VERSION}${ABIFLAGS}" +LIBDEST=${prefix_real}/lib/python${VERSION} +LIBPL=$(echo "${prefix}/lib/python3.8/config-${VERSION}${ABIFLAGS}-x86_64-linux-gnu" | sed "s#$prefix#$prefix_real#") +SO=".cpython-38-x86_64-linux-gnu.so" +PYTHONFRAMEWORK="" +INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" +PLATINCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" +PY_EMBED=0 + +# Scan for --help or unknown argument. +for ARG in $* +do + case $ARG in + --help) + exit_with_usage 0 + ;; + --embed) + PY_EMBED=1 + ;; + --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) + ;; + *) + exit_with_usage 1 + ;; + esac +done + +if [ $PY_EMBED = 1 ] ; then + LIBS="$LIBS_EMBED" +fi + +for ARG in "$@" +do + case "$ARG" in + --prefix) + echo "$prefix_real" + ;; + --exec-prefix) + echo "$exec_prefix_real" + ;; + --includes) + echo "$INCDIR $PLATINCDIR" + ;; + --cflags) + echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" + ;; + --libs) + echo "$LIBS" + ;; + --ldflags) + LIBPLUSED= + if [ "$PY_ENABLE_SHARED" = "0" ] ; then + LIBPLUSED="-L$LIBPL" + fi + echo "$LIBPLUSED -L$libdir $LIBS" + ;; + --extension-suffix) + echo "$SO" + ;; + --abiflags) + echo "$ABIFLAGS" + ;; + --configdir) + echo "$LIBPL" + ;; +esac +done diff --git a/my_container_sandbox/workspace/anaconda3/bin/reset b/my_container_sandbox/workspace/anaconda3/bin/reset new file mode 100644 index 0000000000000000000000000000000000000000..c8657441ce67b828babee758711acef7bfa55f9e Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/reset differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/skivi b/my_container_sandbox/workspace/anaconda3/bin/skivi new file mode 100644 index 0000000000000000000000000000000000000000..44ed9adb2b1563457df0df21fd5a9c1e87f19879 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/skivi @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from skimage.scripts.skivi import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/tabs b/my_container_sandbox/workspace/anaconda3/bin/tabs new file mode 100644 index 0000000000000000000000000000000000000000..a55b667f69c400d0b8caf9441dbc3667f4da2eff Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/tabs differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/tclsh8.6 b/my_container_sandbox/workspace/anaconda3/bin/tclsh8.6 new file mode 100644 index 0000000000000000000000000000000000000000..d6269e7358264f8ef632755c49c6a3ed89c6ad5e Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/tclsh8.6 differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/tensorboard b/my_container_sandbox/workspace/anaconda3/bin/tensorboard new file mode 100644 index 0000000000000000000000000000000000000000..4b9404647785ea0d2cf7802fb4d95e8abef2b8e6 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/tensorboard @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from tensorboard.main import run_main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(run_main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/tic b/my_container_sandbox/workspace/anaconda3/bin/tic new file mode 100644 index 0000000000000000000000000000000000000000..62e7e5820434d888e735099535bb3927de194522 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/tic differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/tiffcomment b/my_container_sandbox/workspace/anaconda3/bin/tiffcomment new file mode 100644 index 0000000000000000000000000000000000000000..dd78b6746bba99504bb60aa5270d8a9ef34370f1 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/tiffcomment @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from tifffile.tiffcomment import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/tiohd b/my_container_sandbox/workspace/anaconda3/bin/tiohd new file mode 100644 index 0000000000000000000000000000000000000000..de2917aaaa86d3c28d32c0cf884d0310079e8359 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/tiohd @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from torchio.cli.print_info import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/tiotr b/my_container_sandbox/workspace/anaconda3/bin/tiotr new file mode 100644 index 0000000000000000000000000000000000000000..73dbe11a2f19f538c8f53639301b517c6706f08e --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/tiotr @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from torchio.cli.apply_transform import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/torchio-transform b/my_container_sandbox/workspace/anaconda3/bin/torchio-transform new file mode 100644 index 0000000000000000000000000000000000000000..73dbe11a2f19f538c8f53639301b517c6706f08e --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/torchio-transform @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from torchio.cli.apply_transform import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/torchrun b/my_container_sandbox/workspace/anaconda3/bin/torchrun new file mode 100644 index 0000000000000000000000000000000000000000..93d5dfebebdd37a445bcca72d3370ac452854589 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/torchrun @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from torch.distributed.run import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/tput b/my_container_sandbox/workspace/anaconda3/bin/tput new file mode 100644 index 0000000000000000000000000000000000000000..b3f40d79ad25f0e1a3e997922a097124b81266f5 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/tput differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/tset b/my_container_sandbox/workspace/anaconda3/bin/tset new file mode 100644 index 0000000000000000000000000000000000000000..c8657441ce67b828babee758711acef7bfa55f9e Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/tset differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/ttx b/my_container_sandbox/workspace/anaconda3/bin/ttx new file mode 100644 index 0000000000000000000000000000000000000000..2152078d784a9c4c0d2f70aec232b14b591c178b --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/ttx @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from fontTools.ttx import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/wandb b/my_container_sandbox/workspace/anaconda3/bin/wandb new file mode 100644 index 0000000000000000000000000000000000000000..100f2e624e1d8550a96b51dc641322f2d161a73c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/wandb @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from wandb.cli.cli import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/wb b/my_container_sandbox/workspace/anaconda3/bin/wb new file mode 100644 index 0000000000000000000000000000000000000000..100f2e624e1d8550a96b51dc641322f2d161a73c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/wb @@ -0,0 +1,8 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys +from wandb.cli.cli import cli +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(cli()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/wheel b/my_container_sandbox/workspace/anaconda3/bin/wheel new file mode 100644 index 0000000000000000000000000000000000000000..faced987cc3e4c4bb2af98be0c17e46a760cb605 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/wheel @@ -0,0 +1,10 @@ +#!/workspace/anaconda3/bin/python3.8 +# -*- coding: utf-8 -*- +import re +import sys + +from wheel.cli import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) diff --git a/my_container_sandbox/workspace/anaconda3/bin/wish8.6 b/my_container_sandbox/workspace/anaconda3/bin/wish8.6 new file mode 100644 index 0000000000000000000000000000000000000000..d9983621099f46270aed3bfd78bafb3c3c13a5c5 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/wish8.6 differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/xzdec b/my_container_sandbox/workspace/anaconda3/bin/xzdec new file mode 100644 index 0000000000000000000000000000000000000000..f6314ea69cc5b9244f358ad0d9e56ff48ff10001 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/bin/xzdec differ diff --git a/my_container_sandbox/workspace/anaconda3/bin/xzdiff b/my_container_sandbox/workspace/anaconda3/bin/xzdiff new file mode 100644 index 0000000000000000000000000000000000000000..3ba99d3c59bd1be00e46429250afd1cad8f00372 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/xzdiff @@ -0,0 +1,215 @@ +#!/bin/sh + +# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *cmp*) prog=xzcmp; cmp=${CMP:-cmp};; + *) prog=xzdiff; cmp=${DIFF:-diff};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... FILE1 [FILE2] +Compare FILE1 to FILE2, using their uncompressed contents if they are +compressed. If FILE2 is omitted, then the files compared are FILE1 and +FILE1 from which the compression format suffix has been stripped. + +Do comparisons like '$cmp' does. OPTIONs are the same as for '$cmp'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' + +while :; do + case $1 in + --h*) printf '%s\n' "$usage" || exit 2; exit;; + --v*) printf '%s\n' "$version" || exit 2; exit;; + --) shift; break;; + -*\'*) cmp="$cmp '"`printf '%sX\n' "$1" | sed "$escape"`;; + -?*) cmp="$cmp '$1'";; + *) break;; + esac + shift +done +cmp="$cmp --" + +for file; do + test "X$file" = X- || <"$file" || exit 2 +done + +# xz needs -qQ to ignore warnings like unsupported check type. +xz1="$xz -qQ" +xz2="$xz -qQ" +xz_status=0 +exec 3>&1 + +if test $# -eq 1; then + case $1 in + *[-.]xz | *[-.]lzma | *[-.]lz | *.t[lx]z) + ;; + *[-.]bz2 | *.tbz | *.tbz2) + xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) + xz1=gzip;; + *[-.]lzo | *.tzo) + xz1=lzop;; + *[-.]zst | *.tzst) + xz1='zstd -q';; + *) + printf '%s\n' "$0: $1: Unknown compressed file name suffix" >&2 + exit 2;; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *[-.]lzo | *[-.]zst) + FILE=`expr "X$1" : 'X\(.*\)[-.][abglmostxzZ2]*$'`;; + *.t[abglx]z) + FILE=`expr "X$1" : 'X\(.*[-.]t\)[abglx]z$'`ar;; + *.tbz2) + FILE=`expr "X$1" : 'X\(.*[-.]t\)bz2$'`ar;; + *.tzo) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zo$'`ar;; + *.tzst) + FILE=`expr "X$1" : 'X\(.*[-.]t\)zst$'`ar;; + esac + xz_status=$( + exec 4>&1 + ($xz1 -cd -- "$1" 4>&-; echo $? >&4) 3>&- | eval "$cmp" - '"$FILE"' >&3 + ) +elif test $# -eq 2; then + case $1 in + *[-.]bz2 | *.tbz | *.tbz2) xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz1=gzip;; + *[-.]lzo | *.tzo) xz1=lzop;; + *[-.]zst | *.tzst) xz1='zstd -q';; + esac + case $2 in + *[-.]bz2 | *.tbz | *.tbz2) xz2=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz2=gzip;; + *[-.]lzo | *.tzo) xz2=lzop;; + *[-.]zst | *.tzst) xz2='zstd -q';; + esac + case $1 in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + if test "$1$2" = --; then + xz_status=$( + exec 4>&1 + ($xz1 -cdf - 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - - >&3 + ) + elif # Reject Solaris 8's buggy /bin/bash 2.03. + echo X | (echo X | eval "$cmp" /dev/fd/5 - >/dev/null 2>&1) 5<&0; then + # NOTE: xz_status will contain two numbers. + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + ( ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- &3) 5<&0 + ) + else + F=`expr "/$2" : '.*/\(.*\)[-.][ablmotxz2]*$'` || F=$prog + tmp= + trap ' + test -n "$tmp" && rm -rf "$tmp" + (exit 2); exit 2 + ' HUP INT PIPE TERM 0 + if type mktemp >/dev/null 2>&1; then + # Note that FreeBSD's mktemp isn't fully compatible with + # the implementations from mktemp.org and GNU coreutils. + # It is important that the -t argument is the last argument + # and that no "--" is used between -t and the template argument. + # This way this command works on all implementations. + tmp=`mktemp -d -t "$prog.XXXXXXXXXX"` || exit 2 + else + # Fallback code if mktemp is missing. This isn't as + # robust as using mktemp since this doesn't try with + # different file names in case of a file name conflict. + # + # There's no need to save the original umask since + # we don't create any non-temp files. Note that using + # mkdir -m 0077 isn't secure since some mkdir implementations + # create the dir with the default umask and chmod the + # the dir afterwards. + umask 0077 + mkdir -- "${TMPDIR-/tmp}/$prog.$$" || exit 2 + tmp="${TMPDIR-/tmp}/$prog.$$" + fi + $xz2 -cdf -- "$2" > "$tmp/$F" || exit 2 + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$tmp/$F"' >&3 + ) + cmp_status=$? + rm -rf "$tmp" || xz_status=$? + trap - HUP INT PIPE TERM 0 + (exit $cmp_status) + fi;; + *) + xz_status=$( + exec 4>&1 + ($xz1 -cdf -- "$1" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" - '"$2"' >&3 + );; + esac;; + *) + case "$2" in + *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *[-.]lz | *.t[abglx]z | *.tbz2 | *[-.]lzo | *.tzo | *[-.]zst | *.tzst | -) + xz_status=$( + exec 4>&1 + ($xz2 -cdf -- "$2" 4>&-; echo $? >&4) 3>&- | + eval "$cmp" '"$1"' - >&3 + );; + *) + eval "$cmp" '"$1"' '"$2"';; + esac;; + esac +else + printf '%s\n' "$0: Invalid number of operands; try \`${0##*/} --help' for help" >&2 + exit 2 +fi + +cmp_status=$? +for num in $xz_status ; do + # 0 from decompressor means successful decompression. SIGPIPE from + # decompressor is possible when diff or cmp exits before the whole file + # has been decompressed. In that case we want to retain the exit status + # from diff or cmp. Note that using "trap '' PIPE" is not possible + # because gzip changes its behavior (including exit status) if SIGPIPE + # is ignored. + test "$num" -eq 0 && continue + test "$num" -ge 128 \ + && test "$(kill -l "$num" 2> /dev/null)" = "PIPE" \ + && continue + exit 2 +done +exit $cmp_status diff --git a/my_container_sandbox/workspace/anaconda3/bin/xzegrep b/my_container_sandbox/workspace/anaconda3/bin/xzegrep new file mode 100644 index 0000000000000000000000000000000000000000..354d71a8869653eaf1cf6333528dac27112715d4 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/xzegrep @@ -0,0 +1,298 @@ +#!/bin/sh + +# xzgrep -- a wrapper around a grep program that decompresses files as needed +# Adapted from a version sent by Charles Levert + +# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *egrep*) prog=xzegrep; grep=${GREP:-grep -E};; + *fgrep*) prog=xzfgrep; grep=${GREP:-grep -F};; + *) prog=xzgrep; grep=${GREP:-grep};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... +Look for instances of PATTERN in the input FILEs, using their +uncompressed contents if they are compressed. + +OPTIONs are the same as for '$grep'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' +operands= +have_pat=0 +files_with_matches=0 +files_without_matches=0 +no_filename=0 +with_filename=0 + +# See if -H and --label options are supported (GNU and *BSDs). +if test f:x = "$(eval "echo x | $grep -H --label=f x 2> /dev/null")"; then + grep_supports_label=1 +else + grep_supports_label=0 +fi + +while test $# -ne 0; do + option=$1 + shift + optarg= + + case $option in + (-[0123456789abcdEFGhHiIKlLnoPqrRsTuUvVwxyzZ]*[!0123456789]*) + # Something like -Fiv was specified, that is, $option contains more + # than one option of which the first option (in this example -F) + # doesn't take an argument. Split the first option into a standalone + # argument and continue parsing the rest of the options (in this example, + # replace -Fiv with -iv in the argument list and set option=-F). + # + # If there are digits [0-9] they are treated as if they were a single + # option character because this syntax is an alias for -C for GNU grep. + # For example, "grep -25F" is equivalent to "grep -C25 -F". If only + # digits are specified like "grep -25" we don't get here because the + # above pattern in the case-statement doesn't match such strings. + arg2=-\'$(LC_ALL=C expr "X${option}X" : 'X-.[0-9]*\(.*\)' | + LC_ALL=C sed "$escape") + eval "set -- $arg2 "'${1+"$@"}' + option=$(LC_ALL=C expr "X$option" : 'X\(-.[0-9]*\)');; + (--binary-*=* | --[lm]a*=* | --reg*=*) + # These options require an argument and an argument has been provided + # with the --foo=argument syntax. All is good. + ;; + (-[ABCDefmX] | --binary-* | --file | --[lm]a* | --reg*) + # These options require an argument which should now be in $1. + # If it isn't, display an error and exit. + case ${1?"$option option requires an argument"} in + (*\'*) + optarg=" '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + optarg=" '$1'";; + esac + shift;; + (--) + break;; + (-?*) + ;; + (*) + case $option in + (*\'*) + operands="$operands '"$(printf '%sX\n' "$option" | + LC_ALL=C sed "$escape");; + (*) + operands="$operands '$option'";; + esac + ${POSIXLY_CORRECT+break} + continue;; + esac + + case $option in + (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) + printf >&2 '%s: %s: Option not supported\n' "$0" "$option" + exit 2;; + (-[ef]* | --file | --file=* | --reg*) + have_pat=1;; + (--h | --he | --hel | --help) + printf '%s\n' "$usage" || exit 2 + exit;; + (-H | --wi | --wit | --with | --with- | --with-f | --with-fi \ + | --with-fil | --with-file | --with-filen | --with-filena | --with-filenam \ + | --with-filename) + with_filename=1 + continue;; + (-l | --files-with-*) + files_with_matches=1 + continue;; + (-L | --files-witho*) + files_without_matches=1 + continue;; + (-h | --no-f*) + no_filename=1;; + (-V | --v | --ve | --ver | --vers | --versi | --versio | --version) + printf '%s\n' "$version" || exit 2 + exit;; + esac + + case $option in + (*\'?*) + option=\'$(printf '%sX\n' "$option" | LC_ALL=C sed "$escape");; + (*) + option="'$option'";; + esac + + grep="$grep $option$optarg" +done + +eval "set -- $operands "'${1+"$@"}' + +if test $have_pat -eq 0; then + case ${1?"Missing pattern; try \`${0##*/} --help' for help"} in + (*\'*) + grep="$grep -e '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + grep="$grep -e '$1'";; + esac + shift +fi + +if test $# -eq 0; then + set -- - +fi + +exec 3>&1 + +# res=1 means that no file matched yet +res=1 + +for i; do + case $i in + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) uncompress="gzip -cdf";; + *[-.]bz2 | *[-.]tbz | *.tbz2) uncompress="bzip2 -cdf";; + *[-.]lzo | *[-.]tzo) uncompress="lzop -cdf";; + *[-.]zst | *[-.]tzst) uncompress="zstd -cdfq";; # zstd needs -q. + *) uncompress="$xz -cdfqQ";; # -qQ to ignore warnings like unsupp. check. + esac + # xz_status will hold the decompressor's exit status. + # Exit status of grep (and in rare cases, printf or sed) is + # available as the exit status of this assignment command. + xz_status=$( + exec 5>&1 + ($uncompress -- "$i" 5>&-; echo $? >&5) 3>&- | + if test $files_with_matches -eq 1; then + eval "$grep -q" && { printf '%s\n' "$i" || exit 2; } + elif test $files_without_matches -eq 1; then + eval "$grep -q" || { + r=$? + if test $r -eq 1; then + printf '%s\n' "$i" || r=2 + fi + exit $r + } + elif test $with_filename -eq 0 && + { test $# -eq 1 || test $no_filename -eq 1; }; then + eval "$grep" + elif test $grep_supports_label -eq 1; then + # The grep implementation in use allows us to specify the filename + # that grep will prefix to the output lines. This is faster and + # less prone to security bugs than the fallback method that uses sed. + # This also avoids confusing output with GNU grep >= 3.5 (2020-09-27) + # which prints "binary file matches" to stderr instead of stdout. + # + # If reading from stdin, let grep use whatever name it prefers for + # stdin. With GNU grep it is a locale-specific translated string. + if test "x$i" = "x-"; then + eval "$grep -H" + else + eval "$grep -H --label \"\$i\"" + fi + else + # Append a colon so that the last character will never be a newline + # which would otherwise get lost in shell command substitution. + i="$i:" + + # Escape & \ | and newlines only if such characters are present + # (speed optimization). + case $i in + (*' +'* | *'&'* | *'\'* | *'|'*) + # If sed fails, set i to a known safe string to ensure that + # failing sed did not create a half-escaped dangerous string. + i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/') || + i='(unknown filename):';; + esac + + # $i already ends with a colon so do not add it here. + sed_script="s|^|$i|" + + # If grep or sed fails, pick the larger value of the two exit statuses. + # If sed fails, use at least 2 since we use >= 2 to indicate errors. + r=$( + exec 4>&1 + (eval "$grep" 4>&-; echo $? >&4) 3>&- | + LC_ALL=C sed "$sed_script" >&3 4>&- + ) || { + sed_status=$? + test "$sed_status" -lt 2 && sed_status=2 + test "$r" -lt "$sed_status" && r=$sed_status + } + exit $r + fi >&3 5>&- + ) + r=$? + + # If grep or sed or other non-decompression command failed with a signal, + # exit immediately and ignore the possible remaining files. + # + # NOTE: Instead of 128 + signal_number, some shells use + # 256 + signal_number (ksh) or 384 + signal_number (yash). + # This is fine for us since their "exit" and "kill -l" commands take + # this into account. (At least the versions I tried do but there is + # a report of an old ksh variant whose "exit" truncates the exit status + # to 8 bits without any special handling for values indicating a signal.) + test "$r" -ge 128 && exit "$r" + + if test -z "$xz_status"; then + # Something unusual happened, for example, we got a signal and + # the exit status of the decompressor was never echoed and thus + # $xz_status is empty. Exit immediately and ignore the possible + # remaining files. + exit 2 + elif test "$xz_status" -ge 128; then + # The decompressor died due to a signal. SIGPIPE is ignored since it can + # occur if grep exits before the whole file has been decompressed (grep -q + # can do that). If the decompressor died with some other signal, exit + # immediately and ignore the possible remaining files. + test "$(kill -l "$xz_status" 2> /dev/null)" != "PIPE" && exit "$xz_status" + elif test "$xz_status" -gt 0; then + # Decompression failed but we will continue with the remaining + # files anwyway. Set exit status to at least 2 to indicate an error. + test "$r" -lt 2 && r=2 + fi + + # Since res=1 is the initial value, we only need to care about + # matches (r == 0) and errors (r >= 2) here; r == 1 can be ignored. + if test "$r" -ge 2; then + # An error occurred in decompressor, grep, or some other command. Update + # res unless a larger error code has been seen with an earlier file. + test "$res" -lt "$r" && res=$r + elif test "$r" -eq 0; then + # grep found a match and no errors occurred. Update res if no errors have + # occurred with earlier files. + test "$res" -eq 1 && res=0 + fi +done + +# 0: At least one file matched and no errors occurred. +# 1: No matches were found and no errors occurred. +# >=2: Error. It's unknown if matches were found. +exit "$res" diff --git a/my_container_sandbox/workspace/anaconda3/bin/xzgrep b/my_container_sandbox/workspace/anaconda3/bin/xzgrep new file mode 100644 index 0000000000000000000000000000000000000000..354d71a8869653eaf1cf6333528dac27112715d4 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/xzgrep @@ -0,0 +1,298 @@ +#!/bin/sh + +# xzgrep -- a wrapper around a grep program that decompresses files as needed +# Adapted from a version sent by Charles Levert + +# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation +# Copyright (C) 1993 Jean-loup Gailly + +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the +# environment variables. +xz='xz --format=auto' +unset GZIP BZIP BZIP2 LZOP + +case ${0##*/} in + *egrep*) prog=xzegrep; grep=${GREP:-grep -E};; + *fgrep*) prog=xzfgrep; grep=${GREP:-grep -F};; + *) prog=xzgrep; grep=${GREP:-grep};; +esac + +version="$prog (XZ Utils) 5.4.6" + +usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]... +Look for instances of PATTERN in the input FILEs, using their +uncompressed contents if they are compressed. + +OPTIONs are the same as for '$grep'. + +Report bugs to ." + +# sed script to escape all ' for the shell, and then (to handle trailing +# newlines correctly) turn trailing X on last line into '. +escape=' + s/'\''/'\''\\'\'''\''/g + $s/X$/'\''/ +' +operands= +have_pat=0 +files_with_matches=0 +files_without_matches=0 +no_filename=0 +with_filename=0 + +# See if -H and --label options are supported (GNU and *BSDs). +if test f:x = "$(eval "echo x | $grep -H --label=f x 2> /dev/null")"; then + grep_supports_label=1 +else + grep_supports_label=0 +fi + +while test $# -ne 0; do + option=$1 + shift + optarg= + + case $option in + (-[0123456789abcdEFGhHiIKlLnoPqrRsTuUvVwxyzZ]*[!0123456789]*) + # Something like -Fiv was specified, that is, $option contains more + # than one option of which the first option (in this example -F) + # doesn't take an argument. Split the first option into a standalone + # argument and continue parsing the rest of the options (in this example, + # replace -Fiv with -iv in the argument list and set option=-F). + # + # If there are digits [0-9] they are treated as if they were a single + # option character because this syntax is an alias for -C for GNU grep. + # For example, "grep -25F" is equivalent to "grep -C25 -F". If only + # digits are specified like "grep -25" we don't get here because the + # above pattern in the case-statement doesn't match such strings. + arg2=-\'$(LC_ALL=C expr "X${option}X" : 'X-.[0-9]*\(.*\)' | + LC_ALL=C sed "$escape") + eval "set -- $arg2 "'${1+"$@"}' + option=$(LC_ALL=C expr "X$option" : 'X\(-.[0-9]*\)');; + (--binary-*=* | --[lm]a*=* | --reg*=*) + # These options require an argument and an argument has been provided + # with the --foo=argument syntax. All is good. + ;; + (-[ABCDefmX] | --binary-* | --file | --[lm]a* | --reg*) + # These options require an argument which should now be in $1. + # If it isn't, display an error and exit. + case ${1?"$option option requires an argument"} in + (*\'*) + optarg=" '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + optarg=" '$1'";; + esac + shift;; + (--) + break;; + (-?*) + ;; + (*) + case $option in + (*\'*) + operands="$operands '"$(printf '%sX\n' "$option" | + LC_ALL=C sed "$escape");; + (*) + operands="$operands '$option'";; + esac + ${POSIXLY_CORRECT+break} + continue;; + esac + + case $option in + (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) + printf >&2 '%s: %s: Option not supported\n' "$0" "$option" + exit 2;; + (-[ef]* | --file | --file=* | --reg*) + have_pat=1;; + (--h | --he | --hel | --help) + printf '%s\n' "$usage" || exit 2 + exit;; + (-H | --wi | --wit | --with | --with- | --with-f | --with-fi \ + | --with-fil | --with-file | --with-filen | --with-filena | --with-filenam \ + | --with-filename) + with_filename=1 + continue;; + (-l | --files-with-*) + files_with_matches=1 + continue;; + (-L | --files-witho*) + files_without_matches=1 + continue;; + (-h | --no-f*) + no_filename=1;; + (-V | --v | --ve | --ver | --vers | --versi | --versio | --version) + printf '%s\n' "$version" || exit 2 + exit;; + esac + + case $option in + (*\'?*) + option=\'$(printf '%sX\n' "$option" | LC_ALL=C sed "$escape");; + (*) + option="'$option'";; + esac + + grep="$grep $option$optarg" +done + +eval "set -- $operands "'${1+"$@"}' + +if test $have_pat -eq 0; then + case ${1?"Missing pattern; try \`${0##*/} --help' for help"} in + (*\'*) + grep="$grep -e '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; + (*) + grep="$grep -e '$1'";; + esac + shift +fi + +if test $# -eq 0; then + set -- - +fi + +exec 3>&1 + +# res=1 means that no file matched yet +res=1 + +for i; do + case $i in + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) uncompress="gzip -cdf";; + *[-.]bz2 | *[-.]tbz | *.tbz2) uncompress="bzip2 -cdf";; + *[-.]lzo | *[-.]tzo) uncompress="lzop -cdf";; + *[-.]zst | *[-.]tzst) uncompress="zstd -cdfq";; # zstd needs -q. + *) uncompress="$xz -cdfqQ";; # -qQ to ignore warnings like unsupp. check. + esac + # xz_status will hold the decompressor's exit status. + # Exit status of grep (and in rare cases, printf or sed) is + # available as the exit status of this assignment command. + xz_status=$( + exec 5>&1 + ($uncompress -- "$i" 5>&-; echo $? >&5) 3>&- | + if test $files_with_matches -eq 1; then + eval "$grep -q" && { printf '%s\n' "$i" || exit 2; } + elif test $files_without_matches -eq 1; then + eval "$grep -q" || { + r=$? + if test $r -eq 1; then + printf '%s\n' "$i" || r=2 + fi + exit $r + } + elif test $with_filename -eq 0 && + { test $# -eq 1 || test $no_filename -eq 1; }; then + eval "$grep" + elif test $grep_supports_label -eq 1; then + # The grep implementation in use allows us to specify the filename + # that grep will prefix to the output lines. This is faster and + # less prone to security bugs than the fallback method that uses sed. + # This also avoids confusing output with GNU grep >= 3.5 (2020-09-27) + # which prints "binary file matches" to stderr instead of stdout. + # + # If reading from stdin, let grep use whatever name it prefers for + # stdin. With GNU grep it is a locale-specific translated string. + if test "x$i" = "x-"; then + eval "$grep -H" + else + eval "$grep -H --label \"\$i\"" + fi + else + # Append a colon so that the last character will never be a newline + # which would otherwise get lost in shell command substitution. + i="$i:" + + # Escape & \ | and newlines only if such characters are present + # (speed optimization). + case $i in + (*' +'* | *'&'* | *'\'* | *'|'*) + # If sed fails, set i to a known safe string to ensure that + # failing sed did not create a half-escaped dangerous string. + i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/') || + i='(unknown filename):';; + esac + + # $i already ends with a colon so do not add it here. + sed_script="s|^|$i|" + + # If grep or sed fails, pick the larger value of the two exit statuses. + # If sed fails, use at least 2 since we use >= 2 to indicate errors. + r=$( + exec 4>&1 + (eval "$grep" 4>&-; echo $? >&4) 3>&- | + LC_ALL=C sed "$sed_script" >&3 4>&- + ) || { + sed_status=$? + test "$sed_status" -lt 2 && sed_status=2 + test "$r" -lt "$sed_status" && r=$sed_status + } + exit $r + fi >&3 5>&- + ) + r=$? + + # If grep or sed or other non-decompression command failed with a signal, + # exit immediately and ignore the possible remaining files. + # + # NOTE: Instead of 128 + signal_number, some shells use + # 256 + signal_number (ksh) or 384 + signal_number (yash). + # This is fine for us since their "exit" and "kill -l" commands take + # this into account. (At least the versions I tried do but there is + # a report of an old ksh variant whose "exit" truncates the exit status + # to 8 bits without any special handling for values indicating a signal.) + test "$r" -ge 128 && exit "$r" + + if test -z "$xz_status"; then + # Something unusual happened, for example, we got a signal and + # the exit status of the decompressor was never echoed and thus + # $xz_status is empty. Exit immediately and ignore the possible + # remaining files. + exit 2 + elif test "$xz_status" -ge 128; then + # The decompressor died due to a signal. SIGPIPE is ignored since it can + # occur if grep exits before the whole file has been decompressed (grep -q + # can do that). If the decompressor died with some other signal, exit + # immediately and ignore the possible remaining files. + test "$(kill -l "$xz_status" 2> /dev/null)" != "PIPE" && exit "$xz_status" + elif test "$xz_status" -gt 0; then + # Decompression failed but we will continue with the remaining + # files anwyway. Set exit status to at least 2 to indicate an error. + test "$r" -lt 2 && r=2 + fi + + # Since res=1 is the initial value, we only need to care about + # matches (r == 0) and errors (r >= 2) here; r == 1 can be ignored. + if test "$r" -ge 2; then + # An error occurred in decompressor, grep, or some other command. Update + # res unless a larger error code has been seen with an earlier file. + test "$res" -lt "$r" && res=$r + elif test "$r" -eq 0; then + # grep found a match and no errors occurred. Update res if no errors have + # occurred with earlier files. + test "$res" -eq 1 && res=0 + fi +done + +# 0: At least one file matched and no errors occurred. +# 1: No matches were found and no errors occurred. +# >=2: Error. It's unknown if matches were found. +exit "$res" diff --git a/my_container_sandbox/workspace/anaconda3/bin/xzless b/my_container_sandbox/workspace/anaconda3/bin/xzless new file mode 100644 index 0000000000000000000000000000000000000000..0258263a47fd9ff2707564e1682a75c9201a6a1c --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/bin/xzless @@ -0,0 +1,59 @@ +#!/bin/sh + +# Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation + +# The original version for gzip was written by Paul Eggert. +# Modified for XZ Utils by Andrew Dudman and Lasse Collin. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + + +#SET_PATH - This line is a placeholder to ease patching this script. + +# Instead of unsetting XZ_OPT, just make sure that xz will use file format +# autodetection. This way memory usage limit and thread limit can be +# specified via XZ_OPT. +xz='xz --format=auto' + +version='xzless (XZ Utils) 5.4.6' + +usage="Usage: ${0##*/} [OPTION]... [FILE]... +Like 'less', but operate on the uncompressed contents of xz compressed FILEs. + +Options are the same as for 'less'. + +Report bugs to ." + +case $1 in + --help) printf '%s\n' "$usage" || exit 2; exit;; + --version) printf '%s\n' "$version" || exit 2; exit;; +esac + +if test "${LESSMETACHARS+set}" != set; then + # Work around a bug in less 394 and earlier; + # it mishandles the metacharacters '$%=~'. + space=' ' + tab=' ' + nl=' +' + LESSMETACHARS="$space$tab$nl'"';*?"()<>[|&^`#\$%=~' +fi + +if test "$(less -V | { read _ ver _ && echo ${ver%%.*}; })" -ge 429; then + # less 429 or later: LESSOPEN pipe will be used on + # standard input if $LESSOPEN begins with |-. + LESSOPEN="|-$xz -cdfqQ -- %s" +else + LESSOPEN="|$xz -cdfqQ -- %s" +fi +export LESSMETACHARS LESSOPEN + +exec less "$@" diff --git a/my_container_sandbox/workspace/anaconda3/lib/libnppial.so b/my_container_sandbox/workspace/anaconda3/lib/libnppial.so new file mode 100644 index 0000000000000000000000000000000000000000..a4afc31e332954dcddb06b4b3018005f06c2f143 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/lib/libnppial.so @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16c7ff2a5140f2d00d4255c9bfcab8275d3b7fadc25c87c7cbecc083e4d17794 +size 13169744 diff --git a/my_container_sandbox/workspace/anaconda3/lib/libyaml-0.so.2 b/my_container_sandbox/workspace/anaconda3/lib/libyaml-0.so.2 new file mode 100644 index 0000000000000000000000000000000000000000..c1bd5fed5c04b646289b84bff910ea811720cb59 --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/lib/libyaml-0.so.2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea079a6864ca10a6f8ea7d2d312c71121f5c966dc8e334f713a3bc8eb242ee49 +size 125072 diff --git a/my_container_sandbox/workspace/anaconda3/pkgs/.constructor-build.info b/my_container_sandbox/workspace/anaconda3/pkgs/.constructor-build.info new file mode 100644 index 0000000000000000000000000000000000000000..d0b4467e9258ea26d16c875f4b69eaf64e19b1ec --- /dev/null +++ b/my_container_sandbox/workspace/anaconda3/pkgs/.constructor-build.info @@ -0,0 +1 @@ +{"constructor": "0+unknown", "conda": "4.10.3", "platform": "linux", "python": "3.8.10 (default, Jun 4 2021, 15:09:15) \n[GCC 7.5.0]", "python_version": [3, 8, 10, "final", 0], "machine": "x86_64", "platform_full": "#83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017", "extra": ["Linux", "4.4.0-62-generic", "0"]} \ No newline at end of file diff --git a/my_container_sandbox/workspace/anaconda3/pkgs/_libgcc_mutex-0.1-main.conda b/my_container_sandbox/workspace/anaconda3/pkgs/_libgcc_mutex-0.1-main.conda new file mode 100644 index 0000000000000000000000000000000000000000..e71b08fcc9aee2bcf40269b589d09b46b6e6108a Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/pkgs/_libgcc_mutex-0.1-main.conda differ diff --git a/my_container_sandbox/workspace/anaconda3/pkgs/conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda b/my_container_sandbox/workspace/anaconda3/pkgs/conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda new file mode 100644 index 0000000000000000000000000000000000000000..756888b8213fcbe21713f657ccdb557740618182 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/pkgs/conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda differ diff --git a/my_container_sandbox/workspace/anaconda3/pkgs/libffi-3.3-he6710b0_2.conda b/my_container_sandbox/workspace/anaconda3/pkgs/libffi-3.3-he6710b0_2.conda new file mode 100644 index 0000000000000000000000000000000000000000..41d252188dc02e2036128f54fd7f0558b0f85964 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/pkgs/libffi-3.3-he6710b0_2.conda differ diff --git a/my_container_sandbox/workspace/anaconda3/pkgs/pycosat-0.6.6-py38h5eee18b_0.conda b/my_container_sandbox/workspace/anaconda3/pkgs/pycosat-0.6.6-py38h5eee18b_0.conda new file mode 100644 index 0000000000000000000000000000000000000000..7731c8a496d290d203cd72fd4bdf9b3dcd42cc74 Binary files /dev/null and b/my_container_sandbox/workspace/anaconda3/pkgs/pycosat-0.6.6-py38h5eee18b_0.conda differ diff --git a/tmp_inputs_32_5/case00003.nii.gz b/tmp_inputs_32_5/case00003.nii.gz new file mode 100644 index 0000000000000000000000000000000000000000..65faa0a2c813df5ecf66bc61dabc8de8241ab5d4 --- /dev/null +++ b/tmp_inputs_32_5/case00003.nii.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f45d8698ba44cf86bd5796fc8070071f793f263a109646154124d99712bff3bf +size 33067773