Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +45 -0
- evalkit_cambrian/bin/bzcmp +76 -0
- evalkit_cambrian/bin/bzegrep +85 -0
- evalkit_cambrian/bin/idle3 +5 -0
- evalkit_cambrian/bin/l2m +8 -0
- evalkit_cambrian/bin/lzfgrep +300 -0
- evalkit_cambrian/bin/lzmore +80 -0
- evalkit_cambrian/bin/openssl +3 -0
- evalkit_cambrian/bin/pip +8 -0
- evalkit_cambrian/bin/pyrsa-sign +8 -0
- evalkit_cambrian/bin/wheel +11 -0
- evalkit_cambrian/lib/libatomic.so +3 -0
- evalkit_cambrian/lib/libatomic.so.1 +3 -0
- evalkit_cambrian/lib/libbz2.a +3 -0
- evalkit_cambrian/lib/libbz2.so +3 -0
- evalkit_cambrian/lib/libbz2.so.1.0 +3 -0
- evalkit_cambrian/lib/libbz2.so.1.0.8 +3 -0
- evalkit_cambrian/lib/libffi.7.so +0 -0
- evalkit_cambrian/lib/libffi.so +0 -0
- evalkit_cambrian/lib/libffi.so.7 +0 -0
- evalkit_cambrian/lib/libffi.so.8 +0 -0
- evalkit_cambrian/lib/libform.so +0 -0
- evalkit_cambrian/lib/libform.so.6 +0 -0
- evalkit_cambrian/lib/libform.so.6.4 +0 -0
- evalkit_cambrian/lib/libformw.a +3 -0
- evalkit_cambrian/lib/libformw.so.6 +0 -0
- evalkit_cambrian/lib/libformw.so.6.4 +0 -0
- evalkit_cambrian/lib/libgcc_s.so +4 -0
- evalkit_cambrian/lib/libgomp.so.1 +3 -0
- evalkit_cambrian/lib/libgomp.so.1.0.0 +3 -0
- evalkit_cambrian/lib/libhistory.a +0 -0
- evalkit_cambrian/lib/libhistory.so.8.2 +0 -0
- evalkit_cambrian/lib/libitm.so +3 -0
- evalkit_cambrian/lib/libitm.so.1 +3 -0
- evalkit_cambrian/lib/libitm.so.1.0.0 +3 -0
- evalkit_cambrian/lib/liblsan.so +3 -0
- evalkit_cambrian/lib/liblsan.so.0 +3 -0
- evalkit_cambrian/lib/liblsan.so.0.0.0 +3 -0
- evalkit_cambrian/lib/liblzma.so +3 -0
- evalkit_cambrian/lib/liblzma.so.5 +3 -0
- evalkit_cambrian/lib/liblzma.so.5.6.4 +3 -0
- evalkit_cambrian/lib/libmenu.a +0 -0
- evalkit_cambrian/lib/libmenu.so.6.4 +0 -0
- evalkit_cambrian/lib/libmenuw.a +0 -0
- evalkit_cambrian/lib/libmenuw.so.6 +0 -0
- evalkit_cambrian/lib/libncurses++w.a +3 -0
- evalkit_cambrian/lib/libncurses.a +3 -0
- evalkit_cambrian/lib/libncurses.so +3 -0
- evalkit_cambrian/lib/libncurses.so.6.4 +3 -0
- evalkit_cambrian/lib/libncursesw.a +3 -0
.gitattributes
CHANGED
|
@@ -197,3 +197,48 @@ evalkit_cambrian/bin/bzcat filter=lfs diff=lfs merge=lfs -text
|
|
| 197 |
evalkit_cambrian/bin/bunzip2 filter=lfs diff=lfs merge=lfs -text
|
| 198 |
evalkit_cambrian/bin/sqlite3 filter=lfs diff=lfs merge=lfs -text
|
| 199 |
evalkit_cambrian/compiler_compat/ld filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
evalkit_cambrian/bin/bunzip2 filter=lfs diff=lfs merge=lfs -text
|
| 198 |
evalkit_cambrian/bin/sqlite3 filter=lfs diff=lfs merge=lfs -text
|
| 199 |
evalkit_cambrian/compiler_compat/ld filter=lfs diff=lfs merge=lfs -text
|
| 200 |
+
evalkit_cambrian/lib/libitm.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 201 |
+
evalkit_cambrian/lib/libncursesw.so.6.4 filter=lfs diff=lfs merge=lfs -text
|
| 202 |
+
evalkit_cambrian/lib/libtk8.6.so filter=lfs diff=lfs merge=lfs -text
|
| 203 |
+
evalkit_cambrian/lib/libubsan.so filter=lfs diff=lfs merge=lfs -text
|
| 204 |
+
evalkit_cambrian/lib/libgomp.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 205 |
+
evalkit_cambrian/lib/libncursesw.a filter=lfs diff=lfs merge=lfs -text
|
| 206 |
+
evalkit_cambrian/lib/libbz2.so.1.0 filter=lfs diff=lfs merge=lfs -text
|
| 207 |
+
evalkit_cambrian/lib/libncurses.so.6.4 filter=lfs diff=lfs merge=lfs -text
|
| 208 |
+
evalkit_cambrian/bin/openssl filter=lfs diff=lfs merge=lfs -text
|
| 209 |
+
evalkit_cambrian/lib/libbz2.a filter=lfs diff=lfs merge=lfs -text
|
| 210 |
+
evalkit_cambrian/lib/libz.a filter=lfs diff=lfs merge=lfs -text
|
| 211 |
+
evalkit_cambrian/lib/libz.so filter=lfs diff=lfs merge=lfs -text
|
| 212 |
+
evalkit_cambrian/lib/libquadmath.so.0 filter=lfs diff=lfs merge=lfs -text
|
| 213 |
+
evalkit_cambrian/lib/libreadline.so filter=lfs diff=lfs merge=lfs -text
|
| 214 |
+
evalkit_cambrian/lib/libsqlite3.so filter=lfs diff=lfs merge=lfs -text
|
| 215 |
+
evalkit_cambrian/lib/libssl.a filter=lfs diff=lfs merge=lfs -text
|
| 216 |
+
evalkit_cambrian/lib/liblzma.so.5.6.4 filter=lfs diff=lfs merge=lfs -text
|
| 217 |
+
evalkit_cambrian/lib/libatomic.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 218 |
+
evalkit_cambrian/lib/libbz2.so filter=lfs diff=lfs merge=lfs -text
|
| 219 |
+
evalkit_cambrian/lib/libgomp.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 220 |
+
evalkit_cambrian/lib/libquadmath.so filter=lfs diff=lfs merge=lfs -text
|
| 221 |
+
evalkit_cambrian/lib/libformw.a filter=lfs diff=lfs merge=lfs -text
|
| 222 |
+
evalkit_cambrian/lib/libbz2.so.1.0.8 filter=lfs diff=lfs merge=lfs -text
|
| 223 |
+
evalkit_cambrian/lib/libreadline.a filter=lfs diff=lfs merge=lfs -text
|
| 224 |
+
evalkit_cambrian/lib/libncursesw.so filter=lfs diff=lfs merge=lfs -text
|
| 225 |
+
evalkit_cambrian/lib/libreadline.so.8.2 filter=lfs diff=lfs merge=lfs -text
|
| 226 |
+
evalkit_cambrian/lib/libitm.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 227 |
+
evalkit_cambrian/lib/libz.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 228 |
+
evalkit_cambrian/lib/liblsan.so filter=lfs diff=lfs merge=lfs -text
|
| 229 |
+
evalkit_cambrian/lib/libssl.so.3 filter=lfs diff=lfs merge=lfs -text
|
| 230 |
+
evalkit_cambrian/lib/libubsan.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 231 |
+
evalkit_cambrian/lib/libncurses.so filter=lfs diff=lfs merge=lfs -text
|
| 232 |
+
evalkit_cambrian/lib/libreadline.so.8 filter=lfs diff=lfs merge=lfs -text
|
| 233 |
+
evalkit_cambrian/lib/libitm.so filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
evalkit_cambrian/lib/libncursesw.so.6 filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
evalkit_cambrian/lib/libatomic.so filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
evalkit_cambrian/lib/liblzma.so filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
evalkit_cambrian/lib/libubsan.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
evalkit_cambrian/lib/libncurses.a filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
evalkit_cambrian/lib/liblsan.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
evalkit_cambrian/lib/libsqlite3.so.0 filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
evalkit_cambrian/lib/liblzma.so.5 filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
evalkit_cambrian/lib/libsqlite3.so.0.8.6 filter=lfs diff=lfs merge=lfs -text
|
| 243 |
+
evalkit_cambrian/lib/libncurses++w.a filter=lfs diff=lfs merge=lfs -text
|
| 244 |
+
evalkit_cambrian/lib/liblsan.so.0 filter=lfs diff=lfs merge=lfs -text
|
evalkit_cambrian/bin/bzcmp
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
|
| 3 |
+
|
| 4 |
+
# Bzcmp/diff wrapped for bzip2,
|
| 5 |
+
# adapted from zdiff by Philippe Troin <[email protected]> for Debian GNU/Linux.
|
| 6 |
+
|
| 7 |
+
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
|
| 8 |
+
# gram on compressed files. All options specified are passed
|
| 9 |
+
# directly to cmp or diff. If only 1 file is specified, then
|
| 10 |
+
# the files compared are file1 and an uncompressed file1.gz.
|
| 11 |
+
# If two files are specified, then they are uncompressed (if
|
| 12 |
+
# necessary) and fed to cmp or diff. The exit status from cmp
|
| 13 |
+
# or diff is preserved.
|
| 14 |
+
|
| 15 |
+
PATH="/usr/bin:/bin:$PATH"; export PATH
|
| 16 |
+
prog=`echo $0 | sed 's|.*/||'`
|
| 17 |
+
case "$prog" in
|
| 18 |
+
*cmp) comp=${CMP-cmp} ;;
|
| 19 |
+
*) comp=${DIFF-diff} ;;
|
| 20 |
+
esac
|
| 21 |
+
|
| 22 |
+
OPTIONS=
|
| 23 |
+
FILES=
|
| 24 |
+
for ARG
|
| 25 |
+
do
|
| 26 |
+
case "$ARG" in
|
| 27 |
+
-*) OPTIONS="$OPTIONS $ARG";;
|
| 28 |
+
*) if test -f "$ARG"; then
|
| 29 |
+
FILES="$FILES $ARG"
|
| 30 |
+
else
|
| 31 |
+
echo "${prog}: $ARG not found or not a regular file"
|
| 32 |
+
exit 1
|
| 33 |
+
fi ;;
|
| 34 |
+
esac
|
| 35 |
+
done
|
| 36 |
+
if test -z "$FILES"; then
|
| 37 |
+
echo "Usage: $prog [${comp}_options] file [file]"
|
| 38 |
+
exit 1
|
| 39 |
+
fi
|
| 40 |
+
set $FILES
|
| 41 |
+
if test $# -eq 1; then
|
| 42 |
+
FILE=`echo "$1" | sed 's/.bz2$//'`
|
| 43 |
+
bzip2 -cd "$FILE.bz2" | $comp $OPTIONS - "$FILE"
|
| 44 |
+
STAT="$?"
|
| 45 |
+
|
| 46 |
+
elif test $# -eq 2; then
|
| 47 |
+
case "$1" in
|
| 48 |
+
*.bz2)
|
| 49 |
+
case "$2" in
|
| 50 |
+
*.bz2)
|
| 51 |
+
F=`echo "$2" | sed 's|.*/||;s|.bz2$||'`
|
| 52 |
+
tmp=`mktemp "${TMPDIR:-/tmp}"/bzdiff.XXXXXXXXXX` || {
|
| 53 |
+
echo 'cannot create a temporary file' >&2
|
| 54 |
+
exit 1
|
| 55 |
+
}
|
| 56 |
+
bzip2 -cdfq "$2" > "$tmp"
|
| 57 |
+
bzip2 -cdfq "$1" | $comp $OPTIONS - "$tmp"
|
| 58 |
+
STAT="$?"
|
| 59 |
+
/bin/rm -f "$tmp";;
|
| 60 |
+
|
| 61 |
+
*) bzip2 -cdfq "$1" | $comp $OPTIONS - "$2"
|
| 62 |
+
STAT="$?";;
|
| 63 |
+
esac;;
|
| 64 |
+
*) case "$2" in
|
| 65 |
+
*.bz2)
|
| 66 |
+
bzip2 -cdfq "$2" | $comp $OPTIONS "$1" -
|
| 67 |
+
STAT="$?";;
|
| 68 |
+
*) $comp $OPTIONS "$1" "$2"
|
| 69 |
+
STAT="$?";;
|
| 70 |
+
esac;;
|
| 71 |
+
esac
|
| 72 |
+
else
|
| 73 |
+
echo "Usage: $prog [${comp}_options] file [file]"
|
| 74 |
+
exit 1
|
| 75 |
+
fi
|
| 76 |
+
exit "$STAT"
|
evalkit_cambrian/bin/bzegrep
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
|
| 3 |
+
# Bzgrep wrapped for bzip2,
|
| 4 |
+
# adapted from zgrep by Philippe Troin <[email protected]> for Debian GNU/Linux.
|
| 5 |
+
## zgrep notice:
|
| 6 |
+
## zgrep -- a wrapper around a grep program that decompresses files as needed
|
| 7 |
+
## Adapted from a version sent by Charles Levert <[email protected]>
|
| 8 |
+
|
| 9 |
+
PATH="/usr/bin:$PATH"; export PATH
|
| 10 |
+
|
| 11 |
+
prog=`echo $0 | sed 's|.*/||'`
|
| 12 |
+
case "$prog" in
|
| 13 |
+
*egrep) grep=${EGREP-egrep} ;;
|
| 14 |
+
*fgrep) grep=${FGREP-fgrep} ;;
|
| 15 |
+
*) grep=${GREP-grep} ;;
|
| 16 |
+
esac
|
| 17 |
+
pat=""
|
| 18 |
+
while test $# -ne 0; do
|
| 19 |
+
case "$1" in
|
| 20 |
+
-e | -f) opt="$opt $1"; shift; pat="$1"
|
| 21 |
+
if test "$grep" = grep; then # grep is buggy with -e on SVR4
|
| 22 |
+
grep=egrep
|
| 23 |
+
fi;;
|
| 24 |
+
-A | -B) opt="$opt $1 $2"; shift;;
|
| 25 |
+
-*) opt="$opt $1";;
|
| 26 |
+
*) if test -z "$pat"; then
|
| 27 |
+
pat="$1"
|
| 28 |
+
else
|
| 29 |
+
break;
|
| 30 |
+
fi;;
|
| 31 |
+
esac
|
| 32 |
+
shift
|
| 33 |
+
done
|
| 34 |
+
|
| 35 |
+
if test -z "$pat"; then
|
| 36 |
+
echo "grep through bzip2 files"
|
| 37 |
+
echo "usage: $prog [grep_options] pattern [files]"
|
| 38 |
+
exit 1
|
| 39 |
+
fi
|
| 40 |
+
|
| 41 |
+
list=0
|
| 42 |
+
silent=0
|
| 43 |
+
op=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'`
|
| 44 |
+
case "$op" in
|
| 45 |
+
*l*) list=1
|
| 46 |
+
esac
|
| 47 |
+
case "$op" in
|
| 48 |
+
*h*) silent=1
|
| 49 |
+
esac
|
| 50 |
+
|
| 51 |
+
if test $# -eq 0; then
|
| 52 |
+
bzip2 -cdfq | $grep $opt "$pat"
|
| 53 |
+
exit $?
|
| 54 |
+
fi
|
| 55 |
+
|
| 56 |
+
res=0
|
| 57 |
+
for i do
|
| 58 |
+
if test -f "$i"; then :; else if test -f "$i.bz2"; then i="$i.bz2"; fi; fi
|
| 59 |
+
if test $list -eq 1; then
|
| 60 |
+
bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
|
| 61 |
+
r=$?
|
| 62 |
+
elif test $# -eq 1 -o $silent -eq 1; then
|
| 63 |
+
bzip2 -cdfq "$i" | $grep $opt "$pat"
|
| 64 |
+
r=$?
|
| 65 |
+
else
|
| 66 |
+
j=$(echo "$i" | sed 's/\\/&&/g;s/|/\\&/g;s/&/\\&/g')
|
| 67 |
+
j=`printf "%s" "$j" | tr '\n' ' '`
|
| 68 |
+
# A trick adapted from
|
| 69 |
+
# https://groups.google.com/forum/#!original/comp.unix.shell/x1345iu10eg/Nn1n-1r1uU0J
|
| 70 |
+
# that has the same effect as the following bash code:
|
| 71 |
+
# bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
|
| 72 |
+
# r=${PIPESTATUS[1]}
|
| 73 |
+
exec 3>&1
|
| 74 |
+
eval `
|
| 75 |
+
exec 4>&1 >&3 3>&-
|
| 76 |
+
{
|
| 77 |
+
bzip2 -cdfq "$i" 4>&-
|
| 78 |
+
} | {
|
| 79 |
+
$grep $opt "$pat" 4>&-; echo "r=$?;" >&4
|
| 80 |
+
} | sed "s|^|${j}:|"
|
| 81 |
+
`
|
| 82 |
+
fi
|
| 83 |
+
test "$r" -ne 0 && res="$r"
|
| 84 |
+
done
|
| 85 |
+
exit $res
|
evalkit_cambrian/bin/idle3
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/root/envs/evalkit_cambrian/bin/python3.10
|
| 2 |
+
|
| 3 |
+
from idlelib.pyshell import main
|
| 4 |
+
if __name__ == '__main__':
|
| 5 |
+
main()
|
evalkit_cambrian/bin/l2m
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/root/envs/evalkit_cambrian/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from latex2mathml.converter import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
evalkit_cambrian/bin/lzfgrep
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
# SPDX-License-Identifier: GPL-2.0-or-later
|
| 3 |
+
|
| 4 |
+
# xzgrep -- a wrapper around a grep program that decompresses files as needed
|
| 5 |
+
# Adapted from a version sent by Charles Levert <[email protected]>
|
| 6 |
+
|
| 7 |
+
# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation
|
| 8 |
+
# Copyright (C) 1993 Jean-loup Gailly
|
| 9 |
+
|
| 10 |
+
# Modified for XZ Utils by Andrew Dudman and Lasse Collin.
|
| 11 |
+
|
| 12 |
+
# This program is free software; you can redistribute it and/or modify
|
| 13 |
+
# it under the terms of the GNU General Public License as published by
|
| 14 |
+
# the Free Software Foundation; either version 2 of the License, or
|
| 15 |
+
# (at your option) any later version.
|
| 16 |
+
|
| 17 |
+
# This program is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 20 |
+
# GNU General Public License for more details.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
#SET_PATH - This line is a placeholder to ease patching this script.
|
| 24 |
+
|
| 25 |
+
# Instead of unsetting XZ_OPT, just make sure that xz will use file format
|
| 26 |
+
# autodetection. This way memory usage limit and thread limit can be
|
| 27 |
+
# specified via XZ_OPT. With gzip, bzip2, and lzop it's OK to just unset the
|
| 28 |
+
# environment variables.
|
| 29 |
+
xz='xz --format=auto'
|
| 30 |
+
unset GZIP BZIP BZIP2 LZOP
|
| 31 |
+
|
| 32 |
+
case ${0##*/} in
|
| 33 |
+
*egrep*) prog=xzegrep; grep=${GREP:-grep -E};;
|
| 34 |
+
*fgrep*) prog=xzfgrep; grep=${GREP:-grep -F};;
|
| 35 |
+
*) prog=xzgrep; grep=${GREP:-grep};;
|
| 36 |
+
esac
|
| 37 |
+
|
| 38 |
+
version="$prog (XZ Utils) 5.6.4"
|
| 39 |
+
|
| 40 |
+
usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]...
|
| 41 |
+
Look for instances of PATTERN in the input FILEs, using their
|
| 42 |
+
uncompressed contents if they are compressed.
|
| 43 |
+
|
| 44 |
+
OPTIONs are the same as for '$grep'.
|
| 45 |
+
|
| 46 |
+
Report bugs to <[email protected]>."
|
| 47 |
+
|
| 48 |
+
# sed script to escape all ' for the shell, and then (to handle trailing
|
| 49 |
+
# newlines correctly) turn trailing X on last line into '.
|
| 50 |
+
escape='
|
| 51 |
+
s/'\''/'\''\\'\'''\''/g
|
| 52 |
+
$s/X$/'\''/
|
| 53 |
+
'
|
| 54 |
+
operands=
|
| 55 |
+
have_pat=0
|
| 56 |
+
files_with_matches=0
|
| 57 |
+
files_without_matches=0
|
| 58 |
+
no_filename=0
|
| 59 |
+
with_filename=0
|
| 60 |
+
|
| 61 |
+
# See if -H and --label options are supported (GNU and *BSDs).
|
| 62 |
+
if test f:x = "$(eval "echo x | $grep -H --label=f x 2> /dev/null")"; then
|
| 63 |
+
grep_supports_label=1
|
| 64 |
+
else
|
| 65 |
+
grep_supports_label=0
|
| 66 |
+
fi
|
| 67 |
+
|
| 68 |
+
while test $# -ne 0; do
|
| 69 |
+
option=$1
|
| 70 |
+
shift
|
| 71 |
+
optarg=
|
| 72 |
+
|
| 73 |
+
case $option in
|
| 74 |
+
(-[0123456789abcdEFGhHiIKlLnoPqrRsTuUvVwxyzZ]*[!0123456789]*)
|
| 75 |
+
# Something like -Fiv was specified, that is, $option contains more
|
| 76 |
+
# than one option of which the first option (in this example -F)
|
| 77 |
+
# doesn't take an argument. Split the first option into a standalone
|
| 78 |
+
# argument and continue parsing the rest of the options (in this example,
|
| 79 |
+
# replace -Fiv with -iv in the argument list and set option=-F).
|
| 80 |
+
#
|
| 81 |
+
# If there are digits [0-9] they are treated as if they were a single
|
| 82 |
+
# option character because this syntax is an alias for -C for GNU grep.
|
| 83 |
+
# For example, "grep -25F" is equivalent to "grep -C25 -F". If only
|
| 84 |
+
# digits are specified like "grep -25" we don't get here because the
|
| 85 |
+
# above pattern in the case-statement doesn't match such strings.
|
| 86 |
+
arg2=-\'$(LC_ALL=C expr "X${option}X" : 'X-.[0-9]*\(.*\)' |
|
| 87 |
+
LC_ALL=C sed "$escape")
|
| 88 |
+
eval "set -- $arg2 "'${1+"$@"}'
|
| 89 |
+
option=$(LC_ALL=C expr "X$option" : 'X\(-.[0-9]*\)');;
|
| 90 |
+
(--binary-*=* | --[lm]a*=* | --reg*=*)
|
| 91 |
+
# These options require an argument and an argument has been provided
|
| 92 |
+
# with the --foo=argument syntax. All is good.
|
| 93 |
+
;;
|
| 94 |
+
(-[ABCDefmX] | --binary-* | --file | --[lm]a* | --reg*)
|
| 95 |
+
# These options require an argument which should now be in $1.
|
| 96 |
+
# If it isn't, display an error and exit.
|
| 97 |
+
case ${1?"$option option requires an argument"} in
|
| 98 |
+
(*\'*)
|
| 99 |
+
optarg=" '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");;
|
| 100 |
+
(*)
|
| 101 |
+
optarg=" '$1'";;
|
| 102 |
+
esac
|
| 103 |
+
shift;;
|
| 104 |
+
(--)
|
| 105 |
+
break;;
|
| 106 |
+
(-?*)
|
| 107 |
+
;;
|
| 108 |
+
(*)
|
| 109 |
+
case $option in
|
| 110 |
+
(*\'*)
|
| 111 |
+
operands="$operands '"$(printf '%sX\n' "$option" |
|
| 112 |
+
LC_ALL=C sed "$escape");;
|
| 113 |
+
(*)
|
| 114 |
+
operands="$operands '$option'";;
|
| 115 |
+
esac
|
| 116 |
+
${POSIXLY_CORRECT+break}
|
| 117 |
+
continue;;
|
| 118 |
+
esac
|
| 119 |
+
|
| 120 |
+
case $option in
|
| 121 |
+
(-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*)
|
| 122 |
+
printf >&2 '%s: %s: Option not supported\n' "$0" "$option"
|
| 123 |
+
exit 2;;
|
| 124 |
+
(-[ef]* | --file | --file=* | --reg*)
|
| 125 |
+
have_pat=1;;
|
| 126 |
+
(--h | --he | --hel | --help)
|
| 127 |
+
printf '%s\n' "$usage" || exit 2
|
| 128 |
+
exit;;
|
| 129 |
+
(-H | --wi | --wit | --with | --with- | --with-f | --with-fi \
|
| 130 |
+
| --with-fil | --with-file | --with-filen | --with-filena | --with-filenam \
|
| 131 |
+
| --with-filename)
|
| 132 |
+
with_filename=1
|
| 133 |
+
continue;;
|
| 134 |
+
(-l | --files-with-*)
|
| 135 |
+
files_with_matches=1
|
| 136 |
+
continue;;
|
| 137 |
+
(-L | --files-witho*)
|
| 138 |
+
files_without_matches=1
|
| 139 |
+
continue;;
|
| 140 |
+
(-h | --no-f*)
|
| 141 |
+
no_filename=1;;
|
| 142 |
+
(-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
|
| 143 |
+
printf '%s\n' "$version" || exit 2
|
| 144 |
+
exit;;
|
| 145 |
+
esac
|
| 146 |
+
|
| 147 |
+
case $option in
|
| 148 |
+
(*\'?*)
|
| 149 |
+
option=\'$(printf '%sX\n' "$option" | LC_ALL=C sed "$escape");;
|
| 150 |
+
(*)
|
| 151 |
+
option="'$option'";;
|
| 152 |
+
esac
|
| 153 |
+
|
| 154 |
+
grep="$grep $option$optarg"
|
| 155 |
+
done
|
| 156 |
+
|
| 157 |
+
eval "set -- $operands "'${1+"$@"}'
|
| 158 |
+
|
| 159 |
+
if test $have_pat -eq 0; then
|
| 160 |
+
case ${1?"Missing pattern; try '${0##*/} --help' for help"} in
|
| 161 |
+
(*\'*)
|
| 162 |
+
grep="$grep -e '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");;
|
| 163 |
+
(*)
|
| 164 |
+
grep="$grep -e '$1'";;
|
| 165 |
+
esac
|
| 166 |
+
shift
|
| 167 |
+
fi
|
| 168 |
+
|
| 169 |
+
if test $# -eq 0; then
|
| 170 |
+
set -- -
|
| 171 |
+
fi
|
| 172 |
+
|
| 173 |
+
exec 3>&1
|
| 174 |
+
|
| 175 |
+
# res=1 means that no file matched yet
|
| 176 |
+
res=1
|
| 177 |
+
|
| 178 |
+
for i; do
|
| 179 |
+
case $i in
|
| 180 |
+
*[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) uncompress="gzip -cdf";;
|
| 181 |
+
*[-.]bz2 | *[-.]tbz | *.tbz2) uncompress="bzip2 -cdf";;
|
| 182 |
+
*[-.]lzo | *[-.]tzo) uncompress="lzop -cdf";;
|
| 183 |
+
*[-.]zst | *[-.]tzst) uncompress="zstd -cdfq";; # zstd needs -q.
|
| 184 |
+
*[-.]lz4) uncompress="lz4 -cdf";;
|
| 185 |
+
*) uncompress="$xz -cdfqQ";; # -qQ to ignore warnings like unsupp. check.
|
| 186 |
+
esac
|
| 187 |
+
# xz_status will hold the decompressor's exit status.
|
| 188 |
+
# Exit status of grep (and in rare cases, printf or sed) is
|
| 189 |
+
# available as the exit status of this assignment command.
|
| 190 |
+
xz_status=$(
|
| 191 |
+
exec 5>&1
|
| 192 |
+
($uncompress -- "$i" 5>&-; echo $? >&5) 3>&- |
|
| 193 |
+
if test $files_with_matches -eq 1; then
|
| 194 |
+
eval "$grep -q" && { printf '%s\n' "$i" || exit 2; }
|
| 195 |
+
elif test $files_without_matches -eq 1; then
|
| 196 |
+
eval "$grep -q" || {
|
| 197 |
+
r=$?
|
| 198 |
+
if test $r -eq 1; then
|
| 199 |
+
printf '%s\n' "$i" || r=2
|
| 200 |
+
fi
|
| 201 |
+
exit $r
|
| 202 |
+
}
|
| 203 |
+
elif test $with_filename -eq 0 &&
|
| 204 |
+
{ test $# -eq 1 || test $no_filename -eq 1; }; then
|
| 205 |
+
eval "$grep"
|
| 206 |
+
elif test $grep_supports_label -eq 1; then
|
| 207 |
+
# The grep implementation in use allows us to specify the filename
|
| 208 |
+
# that grep will prefix to the output lines. This is faster and
|
| 209 |
+
# less prone to security bugs than the fallback method that uses sed.
|
| 210 |
+
# This also avoids confusing output with GNU grep >= 3.5 (2020-09-27)
|
| 211 |
+
# which prints "binary file matches" to stderr instead of stdout.
|
| 212 |
+
#
|
| 213 |
+
# If reading from stdin, let grep use whatever name it prefers for
|
| 214 |
+
# stdin. With GNU grep it is a locale-specific translated string.
|
| 215 |
+
if test "x$i" = "x-"; then
|
| 216 |
+
eval "$grep -H"
|
| 217 |
+
else
|
| 218 |
+
eval "$grep -H --label \"\$i\""
|
| 219 |
+
fi
|
| 220 |
+
else
|
| 221 |
+
# Append a colon so that the last character will never be a newline
|
| 222 |
+
# which would otherwise get lost in shell command substitution.
|
| 223 |
+
i="$i:"
|
| 224 |
+
|
| 225 |
+
# Escape & \ | and newlines only if such characters are present
|
| 226 |
+
# (speed optimization).
|
| 227 |
+
case $i in
|
| 228 |
+
(*'
|
| 229 |
+
'* | *'&'* | *'\'* | *'|'*)
|
| 230 |
+
# If sed fails, set i to a known safe string to ensure that
|
| 231 |
+
# failing sed did not create a half-escaped dangerous string.
|
| 232 |
+
i=$(printf '%s\n' "$i" | LC_ALL=C sed 's/[&\|]/\\&/g; $!s/$/\\/') ||
|
| 233 |
+
i='(unknown filename):';;
|
| 234 |
+
esac
|
| 235 |
+
|
| 236 |
+
# $i already ends with a colon so do not add it here.
|
| 237 |
+
sed_script="s|^|$i|"
|
| 238 |
+
|
| 239 |
+
# If grep or sed fails, pick the larger value of the two exit statuses.
|
| 240 |
+
# If sed fails, use at least 2 since we use >= 2 to indicate errors.
|
| 241 |
+
r=$(
|
| 242 |
+
exec 4>&1
|
| 243 |
+
(eval "$grep" 4>&-; echo $? >&4) 3>&- |
|
| 244 |
+
LC_ALL=C sed "$sed_script" >&3 4>&-
|
| 245 |
+
) || {
|
| 246 |
+
sed_status=$?
|
| 247 |
+
test "$sed_status" -lt 2 && sed_status=2
|
| 248 |
+
test "$r" -lt "$sed_status" && r=$sed_status
|
| 249 |
+
}
|
| 250 |
+
exit $r
|
| 251 |
+
fi >&3 5>&-
|
| 252 |
+
)
|
| 253 |
+
r=$?
|
| 254 |
+
|
| 255 |
+
# If grep or sed or other non-decompression command failed with a signal,
|
| 256 |
+
# exit immediately and ignore the possible remaining files.
|
| 257 |
+
#
|
| 258 |
+
# NOTE: Instead of 128 + signal_number, some shells use
|
| 259 |
+
# 256 + signal_number (ksh) or 384 + signal_number (yash).
|
| 260 |
+
# This is fine for us since their "exit" and "kill -l" commands take
|
| 261 |
+
# this into account. (At least the versions I tried do but there is
|
| 262 |
+
# a report of an old ksh variant whose "exit" truncates the exit status
|
| 263 |
+
# to 8 bits without any special handling for values indicating a signal.)
|
| 264 |
+
test "$r" -ge 128 && exit "$r"
|
| 265 |
+
|
| 266 |
+
if test -z "$xz_status"; then
|
| 267 |
+
# Something unusual happened, for example, we got a signal and
|
| 268 |
+
# the exit status of the decompressor was never echoed and thus
|
| 269 |
+
# $xz_status is empty. Exit immediately and ignore the possible
|
| 270 |
+
# remaining files.
|
| 271 |
+
exit 2
|
| 272 |
+
elif test "$xz_status" -ge 128; then
|
| 273 |
+
# The decompressor died due to a signal. SIGPIPE is ignored since it can
|
| 274 |
+
# occur if grep exits before the whole file has been decompressed (grep -q
|
| 275 |
+
# can do that). If the decompressor died with some other signal, exit
|
| 276 |
+
# immediately and ignore the possible remaining files.
|
| 277 |
+
test "$(kill -l "$xz_status" 2> /dev/null)" != "PIPE" && exit "$xz_status"
|
| 278 |
+
elif test "$xz_status" -gt 0; then
|
| 279 |
+
# Decompression failed but we will continue with the remaining
|
| 280 |
+
# files anyway. Set exit status to at least 2 to indicate an error.
|
| 281 |
+
test "$r" -lt 2 && r=2
|
| 282 |
+
fi
|
| 283 |
+
|
| 284 |
+
# Since res=1 is the initial value, we only need to care about
|
| 285 |
+
# matches (r == 0) and errors (r >= 2) here; r == 1 can be ignored.
|
| 286 |
+
if test "$r" -ge 2; then
|
| 287 |
+
# An error occurred in decompressor, grep, or some other command. Update
|
| 288 |
+
# res unless a larger error code has been seen with an earlier file.
|
| 289 |
+
test "$res" -lt "$r" && res=$r
|
| 290 |
+
elif test "$r" -eq 0; then
|
| 291 |
+
# grep found a match and no errors occurred. Update res if no errors have
|
| 292 |
+
# occurred with earlier files.
|
| 293 |
+
test "$res" -eq 1 && res=0
|
| 294 |
+
fi
|
| 295 |
+
done
|
| 296 |
+
|
| 297 |
+
# 0: At least one file matched and no errors occurred.
|
| 298 |
+
# 1: No matches were found and no errors occurred.
|
| 299 |
+
# >=2: Error. It's unknown if matches were found.
|
| 300 |
+
exit "$res"
|
evalkit_cambrian/bin/lzmore
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
# SPDX-License-Identifier: GPL-2.0-or-later
|
| 3 |
+
|
| 4 |
+
# Copyright (C) 2001, 2002, 2007 Free Software Foundation
|
| 5 |
+
# Copyright (C) 1992, 1993 Jean-loup Gailly
|
| 6 |
+
|
| 7 |
+
# Modified for XZ Utils by Andrew Dudman and Lasse Collin.
|
| 8 |
+
|
| 9 |
+
# This program is free software; you can redistribute it and/or modify
|
| 10 |
+
# it under the terms of the GNU General Public License as published by
|
| 11 |
+
# the Free Software Foundation; either version 2 of the License, or
|
| 12 |
+
# (at your option) any later version.
|
| 13 |
+
|
| 14 |
+
# This program is distributed in the hope that it will be useful,
|
| 15 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 16 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 17 |
+
# GNU General Public License for more details.
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
#SET_PATH - This line is a placeholder to ease patching this script.
|
| 21 |
+
|
| 22 |
+
# Instead of unsetting XZ_OPT, just make sure that xz will use file format
|
| 23 |
+
# autodetection. This way memory usage limit and thread limit can be
|
| 24 |
+
# specified via XZ_OPT.
|
| 25 |
+
xz='xz --format=auto'
|
| 26 |
+
|
| 27 |
+
version='xzmore (XZ Utils) 5.6.4'
|
| 28 |
+
|
| 29 |
+
usage="Usage: ${0##*/} [OPTION]... [FILE]...
|
| 30 |
+
Like 'more', but operate on the uncompressed contents of xz compressed FILEs.
|
| 31 |
+
|
| 32 |
+
Report bugs to <[email protected]>."
|
| 33 |
+
|
| 34 |
+
case $1 in
|
| 35 |
+
--help) printf '%s\n' "$usage" || exit 2; exit;;
|
| 36 |
+
--version) printf '%s\n' "$version" || exit 2; exit;;
|
| 37 |
+
esac
|
| 38 |
+
|
| 39 |
+
oldtty=`stty -g 2>/dev/null`
|
| 40 |
+
if stty -cbreak 2>/dev/null; then
|
| 41 |
+
cb='cbreak'; ncb='-cbreak'
|
| 42 |
+
else
|
| 43 |
+
# 'stty min 1' resets eof to ^a on both SunOS and SysV!
|
| 44 |
+
cb='min 1 -icanon'; ncb='icanon eof ^d'
|
| 45 |
+
fi
|
| 46 |
+
if test $? -eq 0 && test -n "$oldtty"; then
|
| 47 |
+
trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15
|
| 48 |
+
else
|
| 49 |
+
trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15
|
| 50 |
+
fi
|
| 51 |
+
|
| 52 |
+
if test $# = 0; then
|
| 53 |
+
if test -t 0; then
|
| 54 |
+
printf '%s\n' "$usage"; exit 1
|
| 55 |
+
else
|
| 56 |
+
$xz -cdfqQ | eval "${PAGER:-more}"
|
| 57 |
+
fi
|
| 58 |
+
else
|
| 59 |
+
FIRST=1
|
| 60 |
+
for FILE; do
|
| 61 |
+
< "$FILE" || continue
|
| 62 |
+
if test $FIRST -eq 0; then
|
| 63 |
+
printf "%s--More--(Next file: %s)" "" "$FILE"
|
| 64 |
+
stty $cb -echo 2>/dev/null
|
| 65 |
+
ANS=`dd bs=1 count=1 2>/dev/null`
|
| 66 |
+
stty $ncb echo 2>/dev/null
|
| 67 |
+
echo " "
|
| 68 |
+
case "$ANS" in
|
| 69 |
+
[eq]) exit;;
|
| 70 |
+
esac
|
| 71 |
+
fi
|
| 72 |
+
if test "$ANS" != 's'; then
|
| 73 |
+
printf '%s\n' "------> $FILE <------"
|
| 74 |
+
$xz -cdfqQ -- "$FILE" | eval "${PAGER:-more}"
|
| 75 |
+
fi
|
| 76 |
+
if test -t 1; then
|
| 77 |
+
FIRST=0
|
| 78 |
+
fi
|
| 79 |
+
done
|
| 80 |
+
fi
|
evalkit_cambrian/bin/openssl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5eb7a2b4dd73f2fd19ae40f97604ebc4bf6316d8ab55c7b786674026081d8bf8
|
| 3 |
+
size 975848
|
evalkit_cambrian/bin/pip
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/root/envs/evalkit_cambrian/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from pip._internal.cli.main import main
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(main())
|
evalkit_cambrian/bin/pyrsa-sign
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/root/envs/evalkit_cambrian/bin/python
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
import re
|
| 4 |
+
import sys
|
| 5 |
+
from rsa.cli import sign
|
| 6 |
+
if __name__ == '__main__':
|
| 7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
| 8 |
+
sys.exit(sign())
|
evalkit_cambrian/bin/wheel
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/root/envs/evalkit_cambrian/bin/python
|
| 2 |
+
|
| 3 |
+
# -*- coding: utf-8 -*-
|
| 4 |
+
import re
|
| 5 |
+
import sys
|
| 6 |
+
|
| 7 |
+
from wheel.cli import main
|
| 8 |
+
|
| 9 |
+
if __name__ == '__main__':
|
| 10 |
+
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
| 11 |
+
sys.exit(main())
|
evalkit_cambrian/lib/libatomic.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92
|
| 3 |
+
size 143648
|
evalkit_cambrian/lib/libatomic.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f1a92c18f01c13c9a89908fb86a7309ae5b89a882db9914114957bc4b6fed92
|
| 3 |
+
size 143648
|
evalkit_cambrian/lib/libbz2.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4377dc3d8f7542568b6365cd6bb06970b53c20e9a71b7d54271874f7868be500
|
| 3 |
+
size 264138
|
evalkit_cambrian/lib/libbz2.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
evalkit_cambrian/lib/libbz2.so.1.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
evalkit_cambrian/lib/libbz2.so.1.0.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4979469ae49ac144f62202f75bbdd69b17197aedb879d633337c8cf7e4aba301
|
| 3 |
+
size 229016
|
evalkit_cambrian/lib/libffi.7.so
ADDED
|
Binary file (72.1 kB). View file
|
|
|
evalkit_cambrian/lib/libffi.so
ADDED
|
Binary file (72.1 kB). View file
|
|
|
evalkit_cambrian/lib/libffi.so.7
ADDED
|
Binary file (72.1 kB). View file
|
|
|
evalkit_cambrian/lib/libffi.so.8
ADDED
|
Binary file (72.1 kB). View file
|
|
|
evalkit_cambrian/lib/libform.so
ADDED
|
Binary file (91.4 kB). View file
|
|
|
evalkit_cambrian/lib/libform.so.6
ADDED
|
Binary file (91.4 kB). View file
|
|
|
evalkit_cambrian/lib/libform.so.6.4
ADDED
|
Binary file (91.4 kB). View file
|
|
|
evalkit_cambrian/lib/libformw.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e38c05b95a8311e56f3f585bf38e66c9af44a8d6085d39648a770d611a6ebeeb
|
| 3 |
+
size 185212
|
evalkit_cambrian/lib/libformw.so.6
ADDED
|
Binary file (91.4 kB). View file
|
|
|
evalkit_cambrian/lib/libformw.so.6.4
ADDED
|
Binary file (91.4 kB). View file
|
|
|
evalkit_cambrian/lib/libgcc_s.so
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* GNU ld script
|
| 2 |
+
Use the shared library, but some functions are only in
|
| 3 |
+
the static library. */
|
| 4 |
+
GROUP ( libgcc_s.so.1 -lgcc )
|
evalkit_cambrian/lib/libgomp.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854
|
| 3 |
+
size 1265616
|
evalkit_cambrian/lib/libgomp.so.1.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3b68c5f37afb7b70bd12273b69706ab33a397714e8336910f0e47f8f1cf6854
|
| 3 |
+
size 1265616
|
evalkit_cambrian/lib/libhistory.a
ADDED
|
Binary file (78.9 kB). View file
|
|
|
evalkit_cambrian/lib/libhistory.so.8.2
ADDED
|
Binary file (58.5 kB). View file
|
|
|
evalkit_cambrian/lib/libitm.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1
|
| 3 |
+
size 1018904
|
evalkit_cambrian/lib/libitm.so.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1
|
| 3 |
+
size 1018904
|
evalkit_cambrian/lib/libitm.so.1.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a1a8352b39da726e026874f1854096cdd1c60e80ea5cf97a4e38055ea7c1
|
| 3 |
+
size 1018904
|
evalkit_cambrian/lib/liblsan.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757
|
| 3 |
+
size 2691440
|
evalkit_cambrian/lib/liblsan.so.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757
|
| 3 |
+
size 2691440
|
evalkit_cambrian/lib/liblsan.so.0.0.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b898a178573c3ec5feb7246182ac8ebc2664197e35bf08040e6ca2ee4719757
|
| 3 |
+
size 2691440
|
evalkit_cambrian/lib/liblzma.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b126e186cc43702dcacb626e0455f8aecf030d969d6d4a407ce4cc35293c503
|
| 3 |
+
size 218304
|
evalkit_cambrian/lib/liblzma.so.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b126e186cc43702dcacb626e0455f8aecf030d969d6d4a407ce4cc35293c503
|
| 3 |
+
size 218304
|
evalkit_cambrian/lib/liblzma.so.5.6.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b126e186cc43702dcacb626e0455f8aecf030d969d6d4a407ce4cc35293c503
|
| 3 |
+
size 218304
|
evalkit_cambrian/lib/libmenu.a
ADDED
|
Binary file (82.2 kB). View file
|
|
|
evalkit_cambrian/lib/libmenu.so.6.4
ADDED
|
Binary file (45.3 kB). View file
|
|
|
evalkit_cambrian/lib/libmenuw.a
ADDED
|
Binary file (82.2 kB). View file
|
|
|
evalkit_cambrian/lib/libmenuw.so.6
ADDED
|
Binary file (45.3 kB). View file
|
|
|
evalkit_cambrian/lib/libncurses++w.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93b48c40f5d7b07e1a8c4bd9419df55c28e250cca1166be4aafd2fc7caf18823
|
| 3 |
+
size 187604
|
evalkit_cambrian/lib/libncurses.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:873bc902fcba042e3e980451cae21218095aa52298dcce1a9ac7e415beecb1f0
|
| 3 |
+
size 544910
|
evalkit_cambrian/lib/libncurses.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fa4e5e93804d78660b0eef727cdb4211209e1742e4ad3669348022668d90962
|
| 3 |
+
size 271304
|
evalkit_cambrian/lib/libncurses.so.6.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fa4e5e93804d78660b0eef727cdb4211209e1742e4ad3669348022668d90962
|
| 3 |
+
size 271304
|
evalkit_cambrian/lib/libncursesw.a
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:873bc902fcba042e3e980451cae21218095aa52298dcce1a9ac7e415beecb1f0
|
| 3 |
+
size 544910
|