diff --git a/git/usr/bin/[.exe b/git/usr/bin/[.exe
new file mode 100644
index 0000000000000000000000000000000000000000..845331089ed5be98aef6913cd7948dbc190f0d8a
Binary files /dev/null and b/git/usr/bin/[.exe differ
diff --git a/git/usr/bin/getemojis b/git/usr/bin/getemojis
new file mode 100644
index 0000000000000000000000000000000000000000..4ade96a1432e13309ee146e1a28c1ab9d164c7e2
--- /dev/null
+++ b/git/usr/bin/getemojis
@@ -0,0 +1,238 @@
+#! /bin/bash
+
+trace () {
+# echo $* >&2
+ true
+}
+
+wgetfirst=false
+#wgetfirst=true
+
+case "$1" in
+-sh) postproc=cat
+ shift;;
+*) postproc=bash;;
+esac
+
+case `basename "$PWD"` in
+mintty)
+ echo "You seem to be in a mintty config directory:" >&2
+ echo " $PWD" >&2
+ echo "For direct emoji deployment, run this script from its subdirectory 'emojis'." >&2
+ exit;;
+esac
+
+emojisurl0=https://www.unicode.org/emoji/charts/full-emoji-list.html
+emojisurl1=https://www.unicode.org/emoji/charts/full-emoji-modifiers.html
+
+download () {
+ if $wgetfirst
+ then wget -N -t 1 "$1"
+ elif type curl
+ then # prefer curl because it works better behind proxies
+ if [ -f `basename "$1"` ]
+ then curl -RO -z `basename "$1"` "$1"
+ else # avoid "Warning: Illegal date format for -z"
+ curl -RO "$1"
+ fi
+ else wget -N -t 1 "$1"
+ fi ||
+ (echo "[41;30mFILE: $1[m" >&2
+ echo "[41;30mERROR: download failed, file incomplete[m" >&2
+ if [ -f `basename "$1"` ]
+ then # enforce fresh download next time
+ touch -d 1970-01-01 `basename "$1"`
+ fi
+ return 9
+ )
+}
+
+case "$1" in
+""|-h|--help)
+ echo "Usage: `basename $0` [-d | DIR | .../full-emoji-list.html] [EMOJI_STYLE]..." >&2
+ echo >&2
+ echo "This script extracts emojis graphics (.png format) from a downloaded copy of" >&2
+ echo " $emojisurl0" >&2
+ echo " $emojisurl1" >&2
+ echo "for the selected emoji style sets, or (if none selected) all of them:" >&2
+ echo " google" >&2
+ echo "and always extracts common emoji graphics." >&2
+ echo "Other styles are no longer provided at unicode.org:" >&2
+ echo " [apple facebook windows twitter emojione samsung]" >&2
+ echo >&2
+ echo "Options:" >&2
+ echo " -d Download the chart files" >&2
+ echo " DIR Expect the chart files in given directory" >&2
+ echo >&2
+ echo "Warning: with all styles selected, this may take a while." >&2
+ echo >&2
+ if [ `uname` = "Linux" ] && type wslpath 2> /dev/null 1>&2
+ then echo "Note: for direct deployment from WSL, first go into the common config directory:" >&2
+ echo ' cd `wslpath "$APPDATA/mintty/emojis"` || cd `wslpath "$APPDATA/wsltty/emojis"`' >&2
+ else echo "Note: for direct deployment, first go into subdirectory 'emojis' of one of the" >&2
+ echo "mintty config directories:" >&2
+ echo ' ~/.mintty' >&2
+ echo ' ~/.config/mintty' >&2
+ echo ' $APPDATA/mintty' >&2
+ echo ' /usr/share/mintty' >&2
+ fi
+ exit;;
+-d|--download)
+ if download $emojisurl0 && download $emojisurl1
+ then emojis0=full-emoji-list.html
+ emojis1=full-emoji-modifiers.html
+ else echo Download failed >&2
+ exit
+ fi
+ shift;;
+*.html) emojis1=`dirname "$1"`/full-emoji-modifiers.html
+ if [ -r "$1" -a -r "$emojis1" ]
+ then emojis0="$1"
+ else echo Not readable: "$1" "$emojis1" >&2
+ exit
+ fi
+ shift;;
+*) if [ -d "$1" ]
+ then emojis0="$1"/full-emoji-list.html
+ emojis1="$1"/full-emoji-modifiers.html
+ if [ -r "$emojis0" -a -r "$emojis1" ]
+ then true
+ else echo Not readable: "$emojis0" "$emojis1" >&2
+ exit
+ fi
+ shift
+ else echo Missing file name of full emoji list >&2
+ exit
+ fi;;
+esac
+
+echo -n "Using " >&2
+cat "$emojis0" | sed -e "s,
\(.*\),\1," -e t -e d >&2
+
+#cat "$emojis0" |
+#sed -e "/^<\/tr/ q" -e "s/.*\([^.<]*\).*/\1/" -e t -e d |
+#pr -t -n | sed -e "s,^,vendor ," -e 7q
+# 11.0:
+# vendor 1 Appl
+# vendor 2 Goog
+# vendor 3 Twtr
+# vendor 4 One
+# vendor 5 FB
+# vendor 6 Sams
+# vendor 7 Wind
+# 12.0:
+# vendor 1 Appl
+# vendor 2 Goog
+# vendor 3 FB
+# vendor 4 Wind
+# vendor 5 Twtr
+# vendor 6 Joy
+# vendor 7 Sams
+
+seli=0
+styles=(common)
+for vendor in `cat "$emojis0" |
+ sed -e "/^<\/tr/ q" -e "s/.*\([^.<]*\).*/\1/" -e t -e d |
+ sed -e 7q`
+do seli=`expr $seli + 1`
+ case "$vendor" in
+ Appl) st=apple; apple=$seli;;
+ Sample|Goog) st=google; google=$seli;;
+ FB) st=facebook; facebook=$seli;;
+ Wind) st=windows; windows=$seli;;
+ Twtr) st=twitter; twitter=$seli;;
+ One|Joy) st=emojione; emojione=$seli;;
+ Sams) st=samsung; samsung=$seli;;
+ esac
+ styles[$seli]=$st
+done
+
+case "$1" in
+"") #set - apple google facebook windows twitter emojione samsung
+ set - google
+ ;;
+esac
+sel=
+while case "$1" in
+ apple) seli="$apple";;
+ google) seli="$google";;
+ facebook) seli="$facebook";;
+ windows) seli="$windows";;
+ twitter) seli="$twitter";;
+ joy|emojione) seli="$emojione";;
+ samsung) seli="$samsung";;
+ "") false;;
+ *) echo emoji set "$1" not known; exit;;
+ esac
+do sel="$sel$seli"
+ mkdir -p "$1"
+ shift
+done
+mkdir -p common google
+
+export sel
+
+echo "Warning: this may take a while on Cygwin" >&2
+
+LC_ALL=C
+export LC_ALL
+
+total=`grep -e "name='\([^']*\)'.*U+" "$emojis0" "$emojis1" | wc -l`
+export total
+
+(
+echo "Extracting $total emojis " >&2
+
+echo LC_ALL=C
+echo export LC_ALL
+echo total=$total
+echo sel=$sel
+echo "styles=(${styles[*]})"
+
+cat <<\/EOS
+n=0
+
+name () {
+ ename=$1
+ style=0
+ n=$(( $n + 1 ))
+ p=$(( ${n}00 / $total ))
+ echo "emoji $ename (${p}%)" >&2
+}
+
+img0 () {
+ echo " common $ename.png" >&2
+ echo "$1" | base64 -d > common/$ename.png
+}
+
+imgg () {
+ echo " google $ename.png" >&2
+ echo "$1" | base64 -d > google/$ename.png
+}
+
+img () {
+ style=$(( $style + 1 ))
+ case $sel in
+ *$style*) echo "$1" | base64 -d > ${styles[$style]}/$ename.png;;
+ esac
+}
+
+imgskip () {
+ style=$(( $style + 1 ))
+ case $sel in
+ *$style*) echo " skip ${styles[$style]}/$ename.png" >&2;;
+ esac
+}
+
+/EOS
+
+cat "$emojis0" "$emojis1" |
+sed -e "s/^.*name='\([^']*\)'.*U+.*/name \1/" -e "t name" \
+ -e "s/.*—.*/imgskip/" -e t \
+ -e "s@^.*….*src='data:image/png;base64,\([^']*\)'.*src='data:image/png;base64,\([^']*\)'.*@imgg \1\nimg0 \2@" -e t \
+ -e "s@^.*….*src='data:image/png;base64,\([^']*\)'.*@img0 \1@" -e t \
+ -e "s@^.*src='data:image/png;base64,\([^']*\)'.*@img \1@" -e t \
+ -e d \
+ -e ": name" \
+ -e "s,_,-,g"
+) | $postproc
diff --git a/git/usr/bin/getfacl.exe b/git/usr/bin/getfacl.exe
new file mode 100644
index 0000000000000000000000000000000000000000..c173f4aca7fd0b06f3cb72b0772e28fa9420f1fd
Binary files /dev/null and b/git/usr/bin/getfacl.exe differ
diff --git a/git/usr/bin/getflags b/git/usr/bin/getflags
new file mode 100644
index 0000000000000000000000000000000000000000..fa217035060d3c37562f84943e4aeddddd31cfa9
--- /dev/null
+++ b/git/usr/bin/getflags
@@ -0,0 +1,164 @@
+#! /bin/dash
+
+# this script is 20% faster with dash than with bash
+
+#############################################################################
+# download function
+
+download_noto () {
+
+# download noto third-party region flags
+if [ -d noto-emoji-flags ]
+then if [ -d noto-emoji-flags/.git ]
+ then (cd noto-emoji-flags; git pull)
+ else echo WARNING: directory noto-emoji-flags already exists but no git config - Exit
+ exit 9
+ fi
+else
+ notogit=https://github.com/googlefonts/noto-emoji
+ git clone --depth 1 -n --filter=blob:none $notogit noto-emoji-flags
+ (cd noto-emoji-flags
+ git sparse-checkout set --no-cone third_party/region-flags/png
+ git checkout
+ )
+fi
+(cd noto-emoji-flags; rm -f *.png; ln third_party/region-flags/png/*.png ./)
+
+}
+
+download_other () {
+
+# download Puellanivis’ flag emojis
+if [ -d puellanivis-flags ]
+then if [ -d puellanivis-flags/.git ]
+ then (cd puellanivis-flags; git pull)
+ else echo WARNING: directory puellanivis-flags already exists but no git config - Exit
+ exit 9
+ fi
+else
+ puelgit=https://github.com/puellanivis/emoji.git
+ git clone --depth 1 $puelgit puellanivis-flags
+fi
+(cd puellanivis-flags; rm -f *.png; ln flags/*.png flags/*/*.png ./)
+
+}
+
+download () {
+ download_noto
+
+ # drop download of old Google region flags
+ #git clone --depth 1 https://github.com/google/region-flags.git google-region-flags &&
+ #ln google-region-flags/png/*.png google-region-flags/
+
+ download_other
+}
+
+#############################################################################
+# extract emoji files:
+# pre-deploy them with proper filename, according to codepoint pattern
+
+extract () {
+ mkdir -p common
+
+ for f in `ls *-flags/*.png`
+ do e=${f##*/}
+ e=${e%.png}
+ if [ -n "$BASH_VERSION" ]
+ then
+ e=${e//-}
+ e=${e//\'}
+ #else filter them out by missing case below
+ fi
+ case $e in
+ ??) # 1F1E6 1F1E8 ; RGI_Emoji_Flag_Sequence
+ tagseq=false;;
+ *) # 1F3F4 E0067 E0062 E0065 E006E E0067 E007F; RGI_Emoji_Tag_Sequence; flag: England
+ tagseq=true;;
+ esac
+ if $tagseq
+ then n=1f3f4
+ else n=
+ fi
+ # speed-up possible by using a common sed script...
+ for l in $( echo "$e" | tr 'A-Z' 'a-z' | sed -e 's,.,& ,g' )
+ do d=$( printf %d "'$l'" )
+ if $tagseq
+ then case "$l" in
+ [a-z]|[0-9])
+ d=$(( $d + 917504 ))
+ n=$n-$( printf %x $d )
+ ;;
+ #[a-z]) d=$(( $d - 97 + 917601 )) # 'a' -> U+E0061 ...
+ # n=$n-$( printf %x $d )
+ # ;;
+ #[0-9]) d=$(( $d - 48 + 917552 )) # '0' -> U+E0030 ...
+ # n=$n-$( printf %x $d )
+ # ;;
+ esac
+ else d=$(( $d - 97 + 127462 )) # U+1F1E6
+ n=$n-$( printf %x $d )
+ fi
+ done
+ if $tagseq
+ then n=$n-e007f.png
+ else n=${n#-}.png
+ fi
+
+ echo "$f -> common/$n"
+ if [ -L "$f" ]
+ then # linking a symbolic link while renaming the target
+ # would yield a dangling link, so copy it
+ cp "$f" "common/$n"
+ else ln "$f" "common/$n"
+ fi
+ done
+}
+
+#############################################################################
+# perform download and extraction/deployment
+
+case "$1" in
+""|-h|--help)
+ echo "Usage: `basename $0` [-d | -e | -de]" >&2
+ echo >&2
+ echo "This script retrieves flag emojis from various sources." >&2
+ echo >&2
+ echo "Options:" >&2
+ echo " -d Download flags emojis repositories" >&2
+ echo " -n Download only Noto flags" >&2
+ echo " -e Extract emoji files with proper filenames into common/" >&2
+ echo " -de -d and -e" >&2
+ echo " -ne -n and -e" >&2
+ echo >&2
+ if [ `uname` = "Linux" ] && type wslpath 2> /dev/null 1>&2
+ then echo "Note: for direct deployment from WSL, first go into the common config directory:" >&2
+ echo ' cd `wslpath "$APPDATA/mintty/emojis"` || cd `wslpath "$APPDATA/wsltty/emojis"`' >&2
+ else echo "Note: for direct deployment, first go into subdirectory 'emojis' of one of the" >&2
+ echo "mintty config directories:" >&2
+ echo ' ~/.mintty' >&2
+ echo ' ~/.config/mintty' >&2
+ echo ' $APPDATA/mintty' >&2
+ echo ' /usr/share/mintty' >&2
+ fi
+ exit;;
+-n|--download-noto)
+ download_noto
+ ;;
+-ne|--noto)
+ download_noto
+ extract
+ ;;
+-d|--download)
+ download
+ ;;
+-e|--extract)
+ extract
+ ;;
+-de|--all)
+ download
+ extract
+ ;;
+esac
+
+#############################################################################
+# end
diff --git a/git/usr/bin/getnoto b/git/usr/bin/getnoto
new file mode 100644
index 0000000000000000000000000000000000000000..7c0823205ebe0fe9601fe510131fd1064caa708f
--- /dev/null
+++ b/git/usr/bin/getnoto
@@ -0,0 +1,52 @@
+#! /bin/sh
+
+tag=
+case "$1" in
+--tag) tag="--branch $2";;
+esac
+
+#############################################################################
+# download Noto font emojis
+
+if [ -d noto-emojis ]
+then if [ -d noto-emojis/.git ]
+ then (cd noto-emojis; git pull)
+ else echo WARNING: directory noto-emojis already exists but no git config - Exit
+ exit 9
+ fi
+else
+ notogit=https://github.com/googlefonts/noto-emoji
+ if git clone $tag --depth 1 -n --filter=blob:none $notogit noto-emojis
+ then true
+ else echo WARNING: given git tag $tag not found - Exit
+ exit 9
+ fi
+ (cd noto-emojis
+ git sparse-checkout set --no-cone png/128 third_party/region-flags/png
+ git checkout
+ )
+fi
+(mkdir -p noto; rm -f noto/*.png; ln noto-emojis/png/128/*.png noto/)
+
+#############################################################################
+# download Noto third-party flags emojis
+# like getflags -n but use same repository
+
+if [ -d noto-emoji-flags ]
+then if [ -d noto-emoji-flags/.git ]
+ then (cd noto-emoji-flags; git pull)
+ else echo WARNING: directory noto-emoji-flags already exists but no git config - Exit
+ exit 9
+ fi
+else
+ ln -s noto-emojis noto-emoji-flags
+fi
+(cd noto-emoji-flags; rm -f *.png; ln third_party/region-flags/png/*.png ./)
+
+#############################################################################
+# download rename Noto third-party flags
+
+`dirname $0`/getflags -e
+
+#############################################################################
+# end
diff --git a/git/usr/bin/getopt.exe b/git/usr/bin/getopt.exe
new file mode 100644
index 0000000000000000000000000000000000000000..ed0bbc2fccbc302ce941dd9f62d68cc5386acb46
Binary files /dev/null and b/git/usr/bin/getopt.exe differ
diff --git a/git/usr/bin/gkill.exe b/git/usr/bin/gkill.exe
new file mode 100644
index 0000000000000000000000000000000000000000..e166488a8002387b410e6bbbe3bdcdb3297c2027
Binary files /dev/null and b/git/usr/bin/gkill.exe differ
diff --git a/git/usr/bin/gmondump.exe b/git/usr/bin/gmondump.exe
new file mode 100644
index 0000000000000000000000000000000000000000..da8af0c8994903ef794419d086d9f128a69ccd31
Binary files /dev/null and b/git/usr/bin/gmondump.exe differ
diff --git a/git/usr/bin/gpg-error.exe b/git/usr/bin/gpg-error.exe
new file mode 100644
index 0000000000000000000000000000000000000000..6b9914ca495d2f406be9ce8c20b59ffff68ad742
Binary files /dev/null and b/git/usr/bin/gpg-error.exe differ
diff --git a/git/usr/bin/gpgparsemail.exe b/git/usr/bin/gpgparsemail.exe
new file mode 100644
index 0000000000000000000000000000000000000000..d1031bd9b42a99a646a65b4f37023b8643633514
Binary files /dev/null and b/git/usr/bin/gpgparsemail.exe differ
diff --git a/git/usr/bin/gpgsplit.exe b/git/usr/bin/gpgsplit.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8a137dfa38b6a98054a63582fbc2c836d7393c25
Binary files /dev/null and b/git/usr/bin/gpgsplit.exe differ
diff --git a/git/usr/bin/groups.exe b/git/usr/bin/groups.exe
new file mode 100644
index 0000000000000000000000000000000000000000..26c97a1126e4130435ca164dabc1af140b5641b4
Binary files /dev/null and b/git/usr/bin/groups.exe differ
diff --git a/git/usr/bin/gunzip b/git/usr/bin/gunzip
new file mode 100644
index 0000000000000000000000000000000000000000..03268374c4fb3bf44ee77edfa6f8251500a4848c
--- /dev/null
+++ b/git/usr/bin/gunzip
@@ -0,0 +1,56 @@
+#!/bin/sh
+# Uncompress files. This is the inverse of gzip.
+
+# Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc.
+
+# 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 3 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.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+version="gunzip (gzip) 1.14
+Copyright (C) 2025 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License .
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Paul Eggert."
+
+usage="Usage: $0 [OPTION]... [FILE]...
+Uncompress FILEs (by default, in-place).
+
+Mandatory arguments to long options are mandatory for short options too.
+
+ -c, --stdout write on standard output, keep original files unchanged
+ -f, --force force overwrite of output file and compress links
+ -k, --keep keep (don't delete) input files
+ -l, --list list compressed file contents
+ -n, --no-name do not save or restore the original name and timestamp
+ -N, --name save or restore the original name and timestamp
+ -q, --quiet suppress all warnings
+ -r, --recursive operate recursively on directories
+ -S, --suffix=SUF use suffix SUF on compressed files
+ --synchronous synchronous output (safer if system crashes, but slower)
+ -t, --test test compressed file integrity
+ -v, --verbose verbose mode
+ --help display this help and exit
+ --version display version information and exit
+
+With no FILE, or when FILE is -, read standard input.
+
+Report bugs to ."
+
+case $1 in
+--help) printf '%s\n' "$usage" || exit 1; exit;;
+--version) printf '%s\n' "$version" || exit 1; exit;;
+esac
+
+exec gzip -d "$@"
diff --git a/git/usr/bin/gzexe b/git/usr/bin/gzexe
new file mode 100644
index 0000000000000000000000000000000000000000..0f41779a34d703f4337a4e905da0b3ccc0835d47
--- /dev/null
+++ b/git/usr/bin/gzexe
@@ -0,0 +1,240 @@
+#!/bin/sh
+# gzexe: compressor for Unix executables.
+# Use this only for binaries that you do not use frequently.
+#
+# The compressed version is a shell script which decompresses itself after
+# skipping $skip lines of shell commands. We try invoking the compressed
+# executable with the original name (for programs looking at their name).
+# We also try to retain the original file permissions on the compressed file.
+# For safety reasons, gzexe will not create setuid or setgid shell scripts.
+
+# WARNING: the first line of this file must be either : or #!/bin/sh
+# The : is required for some old versions of csh.
+# On Ultrix, /bin/sh is too buggy, change the first line to: #!/bin/sh5
+
+
+# Copyright (C) 1998, 2002, 2004, 2006-2007, 2010-2025 Free Software
+# Foundation, Inc.
+# Copyright (C) 1993 Jean-loup Gailly
+
+# 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 3 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.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+version='gzexe (gzip) 1.14
+Copyright (C) 2025 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License .
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly.'
+
+usage="Usage: $0 [OPTION] FILE...
+Replace each executable FILE with a compressed version of itself.
+Make a backup FILE~ of the old version of FILE.
+
+ -d Decompress each FILE instead of compressing it.
+ --help display this help and exit
+ --version output version information and exit
+
+Report bugs to ."
+
+decomp=0
+res=0
+while :; do
+ case $1 in
+ -d) decomp=1; shift;;
+ --h*) printf '%s\n' "$usage" || exit 1; exit;;
+ --v*) printf '%s\n' "$version" || exit 1; exit;;
+ --) shift; break;;
+ *) break;;
+ esac
+done
+
+if test $# -eq 0; then
+ printf >&2 '%s\n' "$0: missing operand
+Try \`$0 --help' for more information."
+ exit 1
+fi
+
+tmp=
+trap 'res=$?
+ test -n "$tmp" && rm -f "$tmp"
+ (exit $res); exit $res
+' 0 1 2 3 5 10 13 15
+
+mktemp_status=
+
+for i do
+ case $i in
+ -*) file=./$i;;
+ *) file=$i;;
+ esac
+ if test ! -f "$file" || test ! -r "$file"; then
+ res=$?
+ printf >&2 '%s\n' "$0: $i is not a readable regular file"
+ continue
+ fi
+ if test $decomp -eq 0; then
+ case `LC_ALL=C sed -n -e 1d -e '/^skip=[0-9][0-9]*$/p' -e 2q "$file"` in
+ skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9])
+ printf >&2 '%s\n' "$0: $i is already gzexe'd"
+ continue;;
+ esac
+ fi
+ if test -u "$file"; then
+ printf >&2 '%s\n' "$0: $i has setuid permission, unchanged"
+ continue
+ fi
+ if test -g "$file"; then
+ printf >&2 '%s\n' "$0: $i has setgid permission, unchanged"
+ continue
+ fi
+ case /$file in
+ */basename | */bash | */cat | */chmod | */cp | \
+ */dirname | */expr | */gzip | \
+ */ln | */mkdir | */mktemp | */mv | */printf | */rm | \
+ */sed | */sh | */sleep | */test | */tail)
+ printf >&2 '%s\n' "$0: $i might depend on itself"; continue;;
+ esac
+
+ dir=`dirname "$file"` || dir=$TMPDIR
+ test -d "$dir" && test -w "$dir" && test -x "$dir" || dir=/tmp
+ test -n "$tmp" && rm -f "$tmp"
+ if test -z "$mktemp_status"; then
+ command -v mktemp >/dev/null 2>&1
+ mktemp_status=$?
+ fi
+ case $dir in
+ */) ;;
+ *) dir=$dir/;;
+ esac
+ if test $mktemp_status -eq 0; then
+ tmp=`mktemp "${dir}gzexeXXXXXXXXX"`
+ else
+ tmp=${dir}gzexe$$
+ fi && { cp -p "$file" "$tmp" 2>/dev/null || cp "$file" "$tmp"; } || {
+ res=$?
+ printf >&2 '%s\n' "$0: cannot copy $file"
+ continue
+ }
+ if test -w "$tmp"; then
+ writable=1
+ else
+ writable=0
+ chmod u+w "$tmp" || {
+ res=$?
+ printf >&2 '%s\n' "$0: cannot chmod $tmp"
+ continue
+ }
+ fi
+ if test $decomp -eq 0; then
+ (cat <<'EOF' &&
+#!/bin/sh
+skip=49
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+umask=`umask`
+umask 77
+
+gztmpdir=
+trap 'res=$?
+ test -n "$gztmpdir" && rm -fr "$gztmpdir"
+ (exit $res); exit $res
+' 0 1 2 3 5 10 13 15
+
+case $TMPDIR in
+ / | /*/) ;;
+ /*) TMPDIR=$TMPDIR/;;
+ *) TMPDIR=/tmp/;;
+esac
+if command -v mktemp >/dev/null 2>&1; then
+ gztmpdir=`mktemp -d "${TMPDIR}gztmpXXXXXXXXX"`
+else
+ gztmpdir=${TMPDIR}gztmp$$; mkdir $gztmpdir
+fi || { (exit 127); exit 127; }
+
+gztmp=$gztmpdir/$0
+case $0 in
+-* | */*'
+') mkdir -p "$gztmp" && rm -r "$gztmp";;
+*/*) gztmp=$gztmpdir/`basename "$0"`;;
+esac || { (exit 127); exit 127; }
+
+case `printf 'X\n' | tail -n +1 2>/dev/null` in
+X) tail_n=-n;;
+*) tail_n=;;
+esac
+if tail $tail_n +$skip <"$0" | gzip -cd > "$gztmp"; then
+ umask $umask
+ chmod 700 "$gztmp"
+ (sleep 5; rm -fr "$gztmpdir") 2>/dev/null &
+ "$gztmp" ${1+"$@"}; res=$?
+else
+ printf >&2 '%s\n' "Cannot decompress $0"
+ (exit 127); res=127
+fi; exit $res
+EOF
+ gzip -cv9 "$file") > "$tmp" || {
+ res=$?
+ printf >&2 '%s\n' "$0: compression not possible for $i, file unchanged."
+ continue
+ }
+
+ else
+ # decompression
+ skip=44
+ skip_line=`LC_ALL=C sed -e 1d -e 2q "$file"`
+ case $skip_line in
+ skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9])
+ eval "$skip_line";;
+ esac
+ case `printf 'X\n' | tail -n +1 2>/dev/null` in
+ X) tail_n=-n;;
+ *) tail_n=;;
+ esac
+ tail $tail_n +$skip "$file" | gzip -cd > "$tmp" || {
+ res=$?
+ printf >&2 '%s\n' "$0: $i probably not in gzexe format, file unchanged."
+ continue
+ }
+ fi
+ test $writable -eq 1 || chmod u-w "$tmp" || {
+ res=$?
+ printf >&2 '%s\n' "$0: $tmp: cannot chmod"
+ continue
+ }
+ ln -f "$file" "$file~" 2>/dev/null || {
+ # Hard links may not work. Fall back on rm+cp so that $file always exists.
+ rm -f "$file~" && cp -p "$file" "$file~"
+ } || {
+ res=$?
+ printf >&2 '%s\n' "$0: cannot backup $i as $i~"
+ continue
+ }
+ mv -f "$tmp" "$file" || {
+ res=$?
+ printf >&2 '%s\n' "$0: cannot rename $tmp to $i"
+ continue
+ }
+ tmp=
+done
+(exit $res); exit $res
diff --git a/git/usr/bin/head.exe b/git/usr/bin/head.exe
new file mode 100644
index 0000000000000000000000000000000000000000..3cd9f333e24ed04e7d4277e1d642a2e8bea48253
Binary files /dev/null and b/git/usr/bin/head.exe differ
diff --git a/git/usr/bin/hmac256.exe b/git/usr/bin/hmac256.exe
new file mode 100644
index 0000000000000000000000000000000000000000..1d2db843862c11778a78a8db0d7c71e50d6d11ba
Binary files /dev/null and b/git/usr/bin/hmac256.exe differ
diff --git a/git/usr/bin/hostid.exe b/git/usr/bin/hostid.exe
new file mode 100644
index 0000000000000000000000000000000000000000..51814840dfeff4aed2cc63ac0df096e5904b1c14
Binary files /dev/null and b/git/usr/bin/hostid.exe differ
diff --git a/git/usr/bin/hostname.exe b/git/usr/bin/hostname.exe
new file mode 100644
index 0000000000000000000000000000000000000000..c2cb56b570194199f4708cce53bf59d0e73f0f71
Binary files /dev/null and b/git/usr/bin/hostname.exe differ
diff --git a/git/usr/bin/iconv.exe b/git/usr/bin/iconv.exe
new file mode 100644
index 0000000000000000000000000000000000000000..3a3fbbbf0bfb68f36b22886596431e0867756358
Binary files /dev/null and b/git/usr/bin/iconv.exe differ
diff --git a/git/usr/bin/id.exe b/git/usr/bin/id.exe
new file mode 100644
index 0000000000000000000000000000000000000000..096a61112ac9c585b0df5b79aa7d8d0949a5eebc
Binary files /dev/null and b/git/usr/bin/id.exe differ
diff --git a/git/usr/bin/infocmp.exe b/git/usr/bin/infocmp.exe
new file mode 100644
index 0000000000000000000000000000000000000000..a10a2436e8d44ec915e7f60eae439718930b8309
Binary files /dev/null and b/git/usr/bin/infocmp.exe differ
diff --git a/git/usr/bin/infotocap.exe b/git/usr/bin/infotocap.exe
new file mode 100644
index 0000000000000000000000000000000000000000..12d865eb2e6c99ad123fc03234c19a1571bc17f7
Binary files /dev/null and b/git/usr/bin/infotocap.exe differ
diff --git a/git/usr/bin/join.exe b/git/usr/bin/join.exe
new file mode 100644
index 0000000000000000000000000000000000000000..0844edbba8c47c3aeeb769d96dafcb38e15b54f2
Binary files /dev/null and b/git/usr/bin/join.exe differ
diff --git a/git/usr/bin/kill.exe b/git/usr/bin/kill.exe
new file mode 100644
index 0000000000000000000000000000000000000000..493f35a773c009e87f649a04c296d0e92e92d148
Binary files /dev/null and b/git/usr/bin/kill.exe differ
diff --git a/git/usr/bin/ldd.exe b/git/usr/bin/ldd.exe
new file mode 100644
index 0000000000000000000000000000000000000000..104c717930c7f279b26e555f72956145b338a19d
Binary files /dev/null and b/git/usr/bin/ldd.exe differ
diff --git a/git/usr/bin/lessecho.exe b/git/usr/bin/lessecho.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8043415930b3bbddd29953a2e0c54b0f4ec2b3af
Binary files /dev/null and b/git/usr/bin/lessecho.exe differ
diff --git a/git/usr/bin/lesskey.exe b/git/usr/bin/lesskey.exe
new file mode 100644
index 0000000000000000000000000000000000000000..981d3545a492722693dc619543b4d95f22951d1b
Binary files /dev/null and b/git/usr/bin/lesskey.exe differ
diff --git a/git/usr/bin/link.exe b/git/usr/bin/link.exe
new file mode 100644
index 0000000000000000000000000000000000000000..b9f38c5608b442aaf1ad706478d71c27abc5cd8a
Binary files /dev/null and b/git/usr/bin/link.exe differ
diff --git a/git/usr/bin/ln.exe b/git/usr/bin/ln.exe
new file mode 100644
index 0000000000000000000000000000000000000000..69719254f266252fbeb8a653511b27271a19eca2
Binary files /dev/null and b/git/usr/bin/ln.exe differ
diff --git a/git/usr/bin/locale.exe b/git/usr/bin/locale.exe
new file mode 100644
index 0000000000000000000000000000000000000000..5cfc96376cc4ca5bae584e7138ea26143eba60e0
Binary files /dev/null and b/git/usr/bin/locale.exe differ
diff --git a/git/usr/bin/logname.exe b/git/usr/bin/logname.exe
new file mode 100644
index 0000000000000000000000000000000000000000..533a2b0c4dbb69f998e782f34430a0e996a4572c
Binary files /dev/null and b/git/usr/bin/logname.exe differ
diff --git a/git/usr/bin/lsattr.exe b/git/usr/bin/lsattr.exe
new file mode 100644
index 0000000000000000000000000000000000000000..86c754544809c17cb33a83dfeba41ea41ca613b0
Binary files /dev/null and b/git/usr/bin/lsattr.exe differ
diff --git a/git/usr/bin/mac2unix.exe b/git/usr/bin/mac2unix.exe
new file mode 100644
index 0000000000000000000000000000000000000000..7e66c90641fbf2a675fee9738e87534f6716523b
Binary files /dev/null and b/git/usr/bin/mac2unix.exe differ
diff --git a/git/usr/bin/md5sum.exe b/git/usr/bin/md5sum.exe
new file mode 100644
index 0000000000000000000000000000000000000000..07ee8810161314df23f441695c40e67d6bcedfba
Binary files /dev/null and b/git/usr/bin/md5sum.exe differ
diff --git a/git/usr/bin/minidumper.exe b/git/usr/bin/minidumper.exe
new file mode 100644
index 0000000000000000000000000000000000000000..d24d77d311d0315f54d2919dbaab1a86c5909a6f
Binary files /dev/null and b/git/usr/bin/minidumper.exe differ
diff --git a/git/usr/bin/mintheme b/git/usr/bin/mintheme
new file mode 100644
index 0000000000000000000000000000000000000000..17f29e802a58f7c38dc3b1c30ee5c1fdc1dc4b4d
--- /dev/null
+++ b/git/usr/bin/mintheme
@@ -0,0 +1,458 @@
+#! /bin/sh
+
+#############################################################################
+# mintty theme switcher
+# features:
+# list themes from config directories
+# set a theme from config directories
+# set a theme from a file
+# query current colour configuration as theme
+# possible future features:
+# set a theme from a URL
+# load theme from a URL into config directory
+# store current theme into config directory
+
+help() {
+ echo "Usage:"
+ echo " `basename $0` [-h|-l]"
+ echo " `basename $0` THEME"
+ echo " `basename $0` -f THEMEFILE"
+ echo " `basename $0` --save [THEME|THEMEFILE]"
+ echo " `basename $0` [-t|-p|-%] IMAGE"
+ echo " `basename $0` [-s|-S] [PATTERNS]"
+ echo " `basename $0` [-d] -q > THEMEFILE"
+ echo "List/set/query mintty themes in current mintty window."
+ echo "A theme is a colour scheme to configure the 8 ANSI colours, their "
+ echo "bright versions, and optionally the foreground/background/cursor colours."
+ echo
+ echo "Arguments:"
+ echo " THEME set theme from config resources"
+ echo " -f, --file THEMEFILE set theme from themefile"
+ echo " --save [THEME|THEMEFILE] save theme also in config file"
+ echo " -t, --texture FILE[,DIM] set background texture (dim 1..255)"
+ echo " -p, --picture FILE[,DIM] set background picture (dim 1..255)"
+ echo " -%, --picscale FILE[,DIM] like -p and scale window"
+ echo " -q, --query query current colour configuration as theme"
+ echo " -d, --decimal decimal query output"
+ echo " -l, --list list available themes"
+ echo " -s, --show [PATTERN...] show (visualize) themes [matching PATTERNs]"
+ echo " -S, --Show [PATTERN...] show themes double-lined [matching PATTERNs]"
+ echo " -h, --help show this"
+ echo
+ echo "The following directories are considered for locating configured themes:"
+ echo ' ~/.mintty'
+ echo ' ~/.config/mintty'
+ echo ' $APPDATA/mintty'
+ echo ' /usr/share/mintty'
+ echo "Note that the command-line option --configdir cannot be considered."
+}
+
+terminaltype () {
+case "$BASH" in
+?*) # try simplified query as suggested by Brian Inglis:
+ # https://github.com/mintty/mintty/issues/776#issuecomment-475761566
+ read -s -dc -p $'\E[>c' da < /dev/tty
+ da=${da##$'\E'[>}
+ set - ${da//;/ }
+ ;;
+*) # other shells do not have flexible read and string operations
+ # so it's a bit more tricky...
+ test -t 0 && stty=`stty -g`
+ test -t 0 && stty raw -echo min 0 time 5
+
+ echo -n "[>c" > /dev/tty
+ da=`dd < /dev/tty 2> /dev/null`
+
+ test -t 0 && stty "$stty"
+ da=${da#??}
+ type="${da%%;*}"
+ rest="${da#*;}"
+ vers="${rest%%;*}"
+ rest="${rest#*;}"
+ rest="${rest%%c}"
+ set - $type $vers $rest
+;;
+esac
+echo $1
+}
+
+showtheme() {
+ theme="$1"
+ export theme
+ sed \
+ -e 's/^\(ForegroundColour\)[ ]*=/\1=/' \
+ -e 's/^\(BackgroundColour\)[ ]*=/\1=/' \
+ -e 's/^\(CursorColour\)[ ]*=/\1=/' \
+ -e 's/^\(Black\)[ ]*=/\1=/' \
+ -e 's/^\(Red\)[ ]*=/\1=/' \
+ -e 's/^\(Green\)[ ]*=/\1=/' \
+ -e 's/^\(Yellow\)[ ]*=/\1=/' \
+ -e 's/^\(Blue\)[ ]*=/\1=/' \
+ -e 's/^\(Magenta\)[ ]*=/\1=/' \
+ -e 's/^\(Cyan\)[ ]*=/\1=/' \
+ -e 's/^\(White\)[ ]*=/\1=/' \
+ -e 's/^\(BoldBlack\)[ ]*=/\1=/' \
+ -e 's/^\(BoldRed\)[ ]*=/\1=/' \
+ -e 's/^\(BoldGreen\)[ ]*=/\1=/' \
+ -e 's/^\(BoldYellow\)[ ]*=/\1=/' \
+ -e 's/^\(BoldBlue\)[ ]*=/\1=/' \
+ -e 's/^\(BoldMagenta\)[ ]*=/\1=/' \
+ -e 's/^\(BoldCyan\)[ ]*=/\1=/' \
+ -e 's/^\(BoldWhite\)[ ]*=/\1=/' \
+ -e 't ok' -e d -e ': ok' -e 's/[ ]//g' \
+ "$1" |
+ (
+cat <<\/EOS
+xrgb() {
+ sed -e "s, , ,g" /usr/share/X11/rgb.txt |
+ sed -e "s/ *\([0-9][0-9]*\) *\([0-9][0-9]*\) *\([0-9][0-9]*\) *$1 *$/\1;\2;\3/" -e t -e d
+}
+ForegroundColour=39
+BackgroundColour=49
+CursorColour=49
+Black=40
+Red=41
+Green=42
+Yellow=43
+Blue=44
+Magenta=45
+Cyan=46
+White=47
+BoldBlack=100
+BoldRed=101
+BoldGreen=102
+BoldYellow=103
+BoldBlue=104
+BoldMagenta=105
+BoldCyan=106
+BoldWhite=107
+/EOS
+ # filter out separate colour values for background use
+ # (but do not display them)
+ # transform colour specs:
+ # d,d,d
+ # d;d;d
+ # #RRGGBB
+ # 0xRR
+ # rgb:RR/GG/BB
+ # 0xRR
+ # rgb:RRRR/GGGG/BBBB
+ # 0xRR
+ # cmy:C.C/M.M/Y.Y
+ # r = (1 - c) * 255;
+ # g = (1 - m) * 255;
+ # b = (1 - y) * 255;
+ # cmyk:C.C/M.M/Y.Y/K.K
+ # r = (1 - c) * (1 - k) * 255;
+ # g = (1 - m) * (1 - k) * 255;
+ # b = (1 - y) * (1 - k) * 255;
+ # X11 color names
+ sed -e 's%;.*%%' |
+ sed -e 's%=\([0-9]*\),\([0-9]*\),\([0-9]*\)%="\1;\2;\3"%' \
+ -e 's%=#\([0-9A-Fa-f][0-9A-Fa-f]\)\([0-9A-Fa-f][0-9A-Fa-f]\)\([0-9A-Fa-f][0-9A-Fa-f]\)%="$((0x\1));$((0x\2));$((0x\3))"%' \
+ -e 's%=rgb:\([0-9A-Fa-f][0-9A-Fa-f]\)/\([0-9A-Fa-f][0-9A-Fa-f]\)/\([0-9A-Fa-f][0-9A-Fa-f]\)%="$((0x\1));$((0x\2));$((0x\3))"%' \
+ -e 's%=rgb:\([0-9A-Fa-f][0-9A-Fa-f]\)[0-9A-Fa-f][0-9A-Fa-f]/\([0-9A-Fa-f][0-9A-Fa-f]\)[0-9A-Fa-f][0-9A-Fa-f]/\([0-9A-Fa-f][0-9A-Fa-f]\)[0-9A-Fa-f][0-9A-Fa-f]%="$((0x\1));$((0x\2));$((0x\3))"%' \
+ -e '/=cmy/ s%\([01]\)\.\([0-9]*\)%\1.\2000%g' \
+ -e '/=cmy/ s%\([01]\)\.\([0-9][0-9][0-9]\)[0-9]*%\1\2%g' \
+ -e '/=cmy:/ s%cmy:\([0-9/]*\)%cmyk:\1/0000%' \
+ -e 's%=cmyk:\([01][0-9][0-9][0-9]\)/\([01][0-9][0-9][0-9]\)/\([01][0-9][0-9][0-9]\)/\([01][0-9][0-9][0-9]\)%=cmyk:"$(( (1000 - \1) * (1000 - \4) * 255 / 1000000 ));$(( (1000 - \2) * (1000 - \4) * 255 / 1000000 ));$(( (1000 - \3) * (1000 - \4) * 255 / 1000000 ))"%' \
+ -e '/=cmyk:/ s%\([^0-9]\)0*\([0-9]\)%\1\2%g' -e 's%=cmyk:%=%' \
+ -e 's%=\([a-zA-Z][a-zA-Z ]*\)%=`xrgb "\1"`%' \
+ -e 't ok' -e d -e ': ok' -e 's%="%="48;2;%'
+if $show2
+then cat <<\/EOS
+ echo -en "\e[37;${Black}mblk"
+ echo -en "\e[30;${Red}mred"
+ echo -en "\e[30;${Green}mgrn"
+ echo -en "\e[30;${Yellow}mylw"
+ echo -en "\e[30;${Blue}mblu"
+ echo -en "\e[30;${Magenta}mmag"
+ echo -en "\e[30;${Cyan}mcyn"
+ echo -en "\e[30;${White}mwht"
+ echo -en "\e[39;${CursorColour}m "
+ echo -e "\e[m${theme}"
+ echo -en "\e[37;${BoldBlack}mBLK"
+ echo -en "\e[30;${BoldRed}mRED"
+ echo -en "\e[30;${BoldGreen}mGRN"
+ echo -en "\e[30;${BoldYellow}mYLW"
+ echo -en "\e[30;${BoldBlue}mBLU"
+ echo -en "\e[30;${BoldMagenta}mMAG"
+ echo -en "\e[30;${BoldCyan}mCYN"
+ echo -en "\e[30;${BoldWhite}mWHT"
+ echo -en "\e[39;${CursorColour}m "
+ echo -e "\e[${ForegroundColour};${BackgroundColour}m${theme}\e[m"
+/EOS
+else cat <<\/EOS
+ echo -en "\e[${ForegroundColour};${BackgroundColour}mfgbg"
+ echo -en "\e[39;${CursorColour}mC"
+ echo -en "\e[37;${Black}mbk"
+ echo -en "\e[30;${Red}mrd"
+ echo -en "\e[30;${Green}mgn"
+ echo -en "\e[30;${Yellow}myl"
+ echo -en "\e[30;${Blue}mbl"
+ echo -en "\e[30;${Magenta}mmg"
+ echo -en "\e[30;${Cyan}mcy"
+ echo -en "\e[30;${White}mwh"
+ echo -en "\e[37;${BoldBlack}mBK"
+ echo -en "\e[30;${BoldRed}mRD"
+ echo -en "\e[30;${BoldGreen}mGN"
+ echo -en "\e[30;${BoldYellow}mYL"
+ echo -en "\e[30;${BoldBlue}mBL"
+ echo -en "\e[30;${BoldMagenta}mMG"
+ echo -en "\e[30;${BoldCyan}mCY"
+ echo -en "\e[30;${BoldWhite}mWH"
+ echo -e "\e[m $theme"
+/EOS
+fi
+ ) | sh
+}
+
+showthemes() {
+ for confdir in ~/.mintty ~/.config/mintty "$APPDATA"/mintty /usr/share/mintty
+ do if [ -d "$confdir/themes" -a -x "$confdir/themes" -a -r "$confdir/themes" ]
+ then echo "[4;53;7mthemes in '$confdir':[m"
+ (
+ cd "$confdir/themes"
+ for th in *[!~]
+ do for pat in "${@-}"
+ do case "$th" in
+ *$pat*) showtheme "$th";;
+ esac
+ done
+ done
+ )
+ fi
+ done
+}
+
+settheme() {
+ case `terminaltype` in
+ 83) # screen
+ pre='P'
+ post='\\'
+ ;;
+ *) pre=
+ post=
+ ;;
+ esac
+ sed \
+ -e 's/^\(ForegroundColour\)[ ]*=/10;/' \
+ -e 's/^\(BackgroundColour\)[ ]*=/11;/' \
+ -e 's/^\(CursorColour\)[ ]*=/12;/' \
+ -e 's/^\(Black\)[ ]*=/4;0;/' \
+ -e 's/^\(Red\)[ ]*=/4;1;/' \
+ -e 's/^\(Green\)[ ]*=/4;2;/' \
+ -e 's/^\(Yellow\)[ ]*=/4;3;/' \
+ -e 's/^\(Blue\)[ ]*=/4;4;/' \
+ -e 's/^\(Magenta\)[ ]*=/4;5;/' \
+ -e 's/^\(Cyan\)[ ]*=/4;6;/' \
+ -e 's/^\(White\)[ ]*=/4;7;/' \
+ -e 's/^\(BoldBlack\)[ ]*=/4;8;/' \
+ -e 's/^\(BoldRed\)[ ]*=/4;9;/' \
+ -e 's/^\(BoldGreen\)[ ]*=/4;10;/' \
+ -e 's/^\(BoldYellow\)[ ]*=/4;11;/' \
+ -e 's/^\(BoldBlue\)[ ]*=/4;12;/' \
+ -e 's/^\(BoldMagenta\)[ ]*=/4;13;/' \
+ -e 's/^\(BoldCyan\)[ ]*=/4;14;/' \
+ -e 's/^\(BoldWhite\)[ ]*=/4;15;/' \
+ -e 't ok' -e d -e ': ok' -e 's/[ ]//g' \
+ -e "s/^/$pre]/" -e "s/$/$post/" "$1" |
+ tr -d '\012'
+ #]4;A;colour set ANSI colour A=0..15
+ #]10;colour set foreground colour
+ #]11;colour set background colour
+ #]12;colour set cursor colour
+ # unused:
+ #]104;A reset ANSI colour A=0..15
+ #]104 reset colour palette
+ #]110 reset foreground colour
+ #]111 reset background colour
+ #]112 reset cursor colour
+}
+
+query() {
+ len=$(( $1 + 3 ))
+ echo -n "]$2;?" > /dev/tty
+ read -s -n$len -t 2 esc < /dev/tty # read ESC ] prefix and colour index
+ read -s -n18 colour < /dev/tty # read rgb:colour spec
+ read -s -n1 -t 2 esc < /dev/tty # read ^G suffix
+
+ if $decimal
+ then
+ eval $( echo $colour | sed -e "s@rgb:\(..\)../\(..\)../\(..\)..@printf '$3=%d,%d,%d' 0x\1 0x\2 0x\3@" -e t -e "s,^,printf $3=," )
+ echo
+ else
+ # 4-digit hex
+ echo $3=$colour
+ # 2-digit hex
+ #echo $3=$colour | sed -e "s,rgb:\(..\)../\(..\)../\(..\)..,rgb:\1/\2/\3,"
+ fi
+}
+
+conftheme() {
+ if [ `uname` = "Linux" ] && type wslpath 2> /dev/null 1>&2
+ then
+ themefile=`wslpath -ma "$1"`
+ elif type cygpath 2> /dev/null 1>&2
+ then
+ themefile=`cygpath -wa "$1"`
+ else
+ echo "cannot save to config file in this system environment"
+ exit
+ fi
+ if [ `uname` = "Linux" ] && type wslpath 1>&2
+ then
+ ls "$APPDATA/mintty/config"
+ elif type cygpath 1>&2
+ then
+ ls ~/.minttyrc ~/.config/mintty/config "$APPDATA/mintty/config" /etc/minttyrc
+ fi 2> /dev/null |
+ while read conffile
+ do if [ -w "$conffile" ]
+ then
+ newconf=/tmp/minttyrc.$$
+ # create new config file with modified entry
+ sed -n -e "/^ThemeFile[ ]*=/ q" -e p "$conffile" > "$newconf"
+ echo "ThemeFile=$themefile" >> "$newconf"
+ sed -e "1,/^ThemeFile[ ]*=/ d" "$conffile" >> "$newconf"
+ # copy new config file back
+ /bin/cp "$newconf" "$conffile"
+ /bin/rm "$newconf"
+ # feedback
+ echo "saved theme '$themefile'"
+ echo "in config file '$conffile'"
+ return
+ fi
+ done
+}
+
+decimal=false
+show2=false
+case "$1" in
+-d|--decimal)
+ decimal=true
+ shift;;
+esac
+
+case `uname` in
+Linux) if [ -n "$APPDATA" ]
+ then APPDATA=`wslpath "$APPDATA"`
+ else echo APPDATA not set >&2
+ exit
+ fi;;
+esac
+
+case "$1" in
+-h|--help|'')
+ help
+ ;;
+-l|--list)
+ for confdir in ~/.mintty ~/.config/mintty "$APPDATA"/mintty /usr/share/mintty
+ do if [ -d "$confdir/themes" -a -x "$confdir/themes" -a -r "$confdir/themes" ]
+ then echo "[4;53;7mthemes in '$confdir':[m"
+ (cd "$confdir/themes"; ls *[!~])
+ fi
+ done;;
+-s|--show)
+ shift
+ showthemes "$@";;
+-S|--Show|--SHOW)
+ shift
+ show2=true
+ export show2
+ showthemes "$@";;
+-f|--file)
+ if [ -z "$2" ]
+ then help
+ elif [ -r "$2" ]
+ then settheme "$2"
+ else echo cannot read theme file
+ fi;;
+--save)
+ if [ -z "$2" ]
+ then help
+ elif [ -r "$2" ]
+ then
+ settheme "$2"
+ conftheme "$2"
+ else
+ for confdir in ~/.mintty ~/.config/mintty "$APPDATA"/mintty /usr/share/mintty
+ do if [ -r "$confdir/themes/$2" ]
+ then
+ echo setting theme from config dir "$confdir"
+ settheme "$confdir/themes/$2"
+ conftheme "$confdir/themes/$2"
+ exit
+ fi
+ done
+ echo theme not found
+ fi;;
+-p|--picture)
+ if [ -z "$2" ]
+ then help
+ elif [ -r "${2/,*/}" ]
+ then echo "]11;_$2"
+ else echo cannot read picture file
+ fi;;
+-%|--picscale)
+ if [ -z "$2" ]
+ then help
+ elif [ -r "${2/,*/}" ]
+ then echo "]11;%$2"
+ else echo cannot read picture file
+ fi;;
+-t|--texture)
+ if [ -z "$2" ]
+ then help
+ elif [ -r "${2/,*/}" ]
+ then echo "]11;*$2"
+ else echo cannot read texture file
+ fi;;
+-q|--query)
+# echo "]10;?]11;?]12;?"
+ test -t 0 && stty=`stty -g`
+ test -t 0 && stty -echo min 0 time 5 # raw
+
+ query 2 "10" ForegroundColour
+ query 2 "11" BackgroundColour
+ query 2 "12" CursorColour
+ query 3 "4;0" Black
+ query 3 "4;1" Red
+ query 3 "4;2" Green
+ query 3 "4;3" Yellow
+ query 3 "4;4" Blue
+ query 3 "4;5" Magenta
+ query 3 "4;6" Cyan
+ query 3 "4;7" White
+ query 3 "4;8" BoldBlack
+ query 3 "4;9" BoldRed
+ query 4 "4;10" BoldGreen
+ query 4 "4;11" BoldYellow
+ query 4 "4;12" BoldBlue
+ query 4 "4;13" BoldMagenta
+ query 4 "4;14" BoldCyan
+ query 4 "4;15" BoldWhite
+ read -s -n1 -t 1 esc < /dev/tty # swallow final bogus '\'
+
+ test -t 0 && stty "$stty"
+ ;;
+-*) echo unknown argument;;
+*)
+ if [ -r "$1" ]
+ then echo setting theme from config dir "$confdir"
+ settheme "$1"
+ exit
+ fi
+ for confdir in ~/.mintty ~/.config/mintty "$APPDATA"/mintty /usr/share/mintty
+ do if [ -r "$confdir/themes/$1" ]
+ then
+ echo setting theme from config dir "$confdir"
+ settheme "$confdir/themes/$1"
+ exit
+ fi
+ done
+ echo theme not found;;
+esac
+
+#############################################################################
+# end
diff --git a/git/usr/bin/mkdir.exe b/git/usr/bin/mkdir.exe
new file mode 100644
index 0000000000000000000000000000000000000000..50edba24cc9d3c860d0113b77cc166f76de08d0e
Binary files /dev/null and b/git/usr/bin/mkdir.exe differ
diff --git a/git/usr/bin/mkfifo.exe b/git/usr/bin/mkfifo.exe
new file mode 100644
index 0000000000000000000000000000000000000000..d00bf1452b95334dfe5093c0740915c770d168fa
Binary files /dev/null and b/git/usr/bin/mkfifo.exe differ
diff --git a/git/usr/bin/mkgroup.exe b/git/usr/bin/mkgroup.exe
new file mode 100644
index 0000000000000000000000000000000000000000..578fe970e713f18ac6893e00b296f466c6d5f757
Binary files /dev/null and b/git/usr/bin/mkgroup.exe differ
diff --git a/git/usr/bin/mknod.exe b/git/usr/bin/mknod.exe
new file mode 100644
index 0000000000000000000000000000000000000000..056700f0f52c65177c88621618e8bff6e5d749ba
Binary files /dev/null and b/git/usr/bin/mknod.exe differ
diff --git a/git/usr/bin/mkpasswd.exe b/git/usr/bin/mkpasswd.exe
new file mode 100644
index 0000000000000000000000000000000000000000..55846dda52a9744838d5b280ffd58e42e502ac5e
Binary files /dev/null and b/git/usr/bin/mkpasswd.exe differ
diff --git a/git/usr/bin/mktemp.exe b/git/usr/bin/mktemp.exe
new file mode 100644
index 0000000000000000000000000000000000000000..9aa786c5ce6bdb94b23f403b55159ec7dfd96cc1
Binary files /dev/null and b/git/usr/bin/mktemp.exe differ
diff --git a/git/usr/bin/mount.exe b/git/usr/bin/mount.exe
new file mode 100644
index 0000000000000000000000000000000000000000..ba38c53f400a70311a7b8de49b46bf7fea2ad6c7
Binary files /dev/null and b/git/usr/bin/mount.exe differ
diff --git a/git/usr/bin/mpicalc.exe b/git/usr/bin/mpicalc.exe
new file mode 100644
index 0000000000000000000000000000000000000000..bc99fe2a4ca8f1c9c62d02f5e3ff41de66731ea3
Binary files /dev/null and b/git/usr/bin/mpicalc.exe differ
diff --git a/git/usr/bin/msys-assuan-9.dll b/git/usr/bin/msys-assuan-9.dll
new file mode 100644
index 0000000000000000000000000000000000000000..361f08fac6cf495f1e22c68e69161986b3444030
Binary files /dev/null and b/git/usr/bin/msys-assuan-9.dll differ
diff --git a/git/usr/bin/msys-bz2-1.dll b/git/usr/bin/msys-bz2-1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ec39449a1506737aecacdcb04aa6627e4d5674cf
Binary files /dev/null and b/git/usr/bin/msys-bz2-1.dll differ
diff --git a/git/usr/bin/msys-cbor-0.11.dll b/git/usr/bin/msys-cbor-0.11.dll
new file mode 100644
index 0000000000000000000000000000000000000000..b917c77fd187271d24f0fed7f7aeb1f2eec2e2c6
Binary files /dev/null and b/git/usr/bin/msys-cbor-0.11.dll differ
diff --git a/git/usr/bin/msys-com_err-1.dll b/git/usr/bin/msys-com_err-1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..3074ca30a1dc95a0ea9bbae5a53f981ca4cebf37
Binary files /dev/null and b/git/usr/bin/msys-com_err-1.dll differ
diff --git a/git/usr/bin/msys-ffi-8.dll b/git/usr/bin/msys-ffi-8.dll
new file mode 100644
index 0000000000000000000000000000000000000000..2cee387cee889347b202eaaeca8f90c9f77df516
Binary files /dev/null and b/git/usr/bin/msys-ffi-8.dll differ
diff --git a/git/usr/bin/msys-gdbm-6.dll b/git/usr/bin/msys-gdbm-6.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ff1c95629414c6c0ceda109f17887b39cde74360
Binary files /dev/null and b/git/usr/bin/msys-gdbm-6.dll differ
diff --git a/git/usr/bin/msys-gdbm_compat-4.dll b/git/usr/bin/msys-gdbm_compat-4.dll
new file mode 100644
index 0000000000000000000000000000000000000000..3e086d8a44e1eb0dfe113dd4ddcd176edf886bca
Binary files /dev/null and b/git/usr/bin/msys-gdbm_compat-4.dll differ
diff --git a/git/usr/bin/msys-heimbase-1.dll b/git/usr/bin/msys-heimbase-1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ef51f03c806b4eb68d234486a9c30d82e8dddf3f
Binary files /dev/null and b/git/usr/bin/msys-heimbase-1.dll differ
diff --git a/git/usr/bin/msys-heimntlm-0.dll b/git/usr/bin/msys-heimntlm-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..9ecb96a904489e23558441ae81982d635bb9effb
Binary files /dev/null and b/git/usr/bin/msys-heimntlm-0.dll differ
diff --git a/git/usr/bin/msys-npth-0.dll b/git/usr/bin/msys-npth-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..903a7378f462ccc183f8d1ed4485feebed0e3029
Binary files /dev/null and b/git/usr/bin/msys-npth-0.dll differ
diff --git a/git/usr/bin/msys-pcre2-posix-3.dll b/git/usr/bin/msys-pcre2-posix-3.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a284efc0140a8484f7ef545e999acadeba0b393b
Binary files /dev/null and b/git/usr/bin/msys-pcre2-posix-3.dll differ
diff --git a/git/usr/bin/msys-psl-5.dll b/git/usr/bin/msys-psl-5.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c361bd772e4ba538c1e1acee9f6c0b464ddf168b
Binary files /dev/null and b/git/usr/bin/msys-psl-5.dll differ
diff --git a/git/usr/bin/msys-roken-18.dll b/git/usr/bin/msys-roken-18.dll
new file mode 100644
index 0000000000000000000000000000000000000000..0352bd2a62109d0dd02fbeaa9c9657fb8a605c9b
Binary files /dev/null and b/git/usr/bin/msys-roken-18.dll differ
diff --git a/git/usr/bin/msys-sasl2-3.dll b/git/usr/bin/msys-sasl2-3.dll
new file mode 100644
index 0000000000000000000000000000000000000000..41659ef56716015cdd32e41579afb2be6b2493c4
Binary files /dev/null and b/git/usr/bin/msys-sasl2-3.dll differ
diff --git a/git/usr/bin/msys-serf-1-0.dll b/git/usr/bin/msys-serf-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..59989cd107b274d1f78d3ab1eec9fd05b5dce325
Binary files /dev/null and b/git/usr/bin/msys-serf-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_diff-1-0.dll b/git/usr/bin/msys-svn_diff-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..70826c462c728476ca6684cc143fcf54abfb3954
Binary files /dev/null and b/git/usr/bin/msys-svn_diff-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_fs-1-0.dll b/git/usr/bin/msys-svn_fs-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..4e95def5ee25f9a98ad943dafe5641a82dbac2e6
Binary files /dev/null and b/git/usr/bin/msys-svn_fs-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_fs_util-1-0.dll b/git/usr/bin/msys-svn_fs_util-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ee741738f9425d167d896014225fea60340feef3
Binary files /dev/null and b/git/usr/bin/msys-svn_fs_util-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_ra-1-0.dll b/git/usr/bin/msys-svn_ra-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..188ddc6ea487a362dfb8d5fbbe2caa399004f171
Binary files /dev/null and b/git/usr/bin/msys-svn_ra-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_ra_local-1-0.dll b/git/usr/bin/msys-svn_ra_local-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a63c9b87c886f6a9370cd2d72c5d637e21d2b440
Binary files /dev/null and b/git/usr/bin/msys-svn_ra_local-1-0.dll differ
diff --git a/git/usr/bin/msys-svn_swig_perl-1-0.dll b/git/usr/bin/msys-svn_swig_perl-1-0.dll
new file mode 100644
index 0000000000000000000000000000000000000000..f0cd3bb2b3c448582d9d48712fe837badc711e3e
Binary files /dev/null and b/git/usr/bin/msys-svn_swig_perl-1-0.dll differ
diff --git a/git/usr/bin/msys-tasn1-6.dll b/git/usr/bin/msys-tasn1-6.dll
new file mode 100644
index 0000000000000000000000000000000000000000..4e0e46028acab5ba8bcf5b8e3adc117a358a56fe
Binary files /dev/null and b/git/usr/bin/msys-tasn1-6.dll differ
diff --git a/git/usr/bin/msys-ticw6.dll b/git/usr/bin/msys-ticw6.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e995ac7e3dadc652a7ad04f4fcb1343d905ef1f2
Binary files /dev/null and b/git/usr/bin/msys-ticw6.dll differ
diff --git a/git/usr/bin/msys-uuid-1.dll b/git/usr/bin/msys-uuid-1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a1036361f017926f7188569f48b2f5fea9fd442d
Binary files /dev/null and b/git/usr/bin/msys-uuid-1.dll differ
diff --git a/git/usr/bin/msys-z.dll b/git/usr/bin/msys-z.dll
new file mode 100644
index 0000000000000000000000000000000000000000..f223199e807ea29f32002bcc5a589611e7d42780
Binary files /dev/null and b/git/usr/bin/msys-z.dll differ
diff --git a/git/usr/bin/nettle-hash.exe b/git/usr/bin/nettle-hash.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8a215a00d67a6e3048d7f95cefd4903e0cc4e38c
Binary files /dev/null and b/git/usr/bin/nettle-hash.exe differ
diff --git a/git/usr/bin/nettle-lfib-stream.exe b/git/usr/bin/nettle-lfib-stream.exe
new file mode 100644
index 0000000000000000000000000000000000000000..a8eee8bd13afaa95e0fb05ef5d2bc26af3d91807
Binary files /dev/null and b/git/usr/bin/nettle-lfib-stream.exe differ
diff --git a/git/usr/bin/nettle-pbkdf2.exe b/git/usr/bin/nettle-pbkdf2.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8f750b0b0d90a43f7977c42bb8cb6f2e82d3b25b
Binary files /dev/null and b/git/usr/bin/nettle-pbkdf2.exe differ
diff --git a/git/usr/bin/newgrp.exe b/git/usr/bin/newgrp.exe
new file mode 100644
index 0000000000000000000000000000000000000000..2278362b7eaa46a077a520197ece175fc491ff44
Binary files /dev/null and b/git/usr/bin/newgrp.exe differ
diff --git a/git/usr/bin/nice.exe b/git/usr/bin/nice.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8772bbc37fae1bd04ff64ee30590a4442677aaae
Binary files /dev/null and b/git/usr/bin/nice.exe differ
diff --git a/git/usr/bin/nohup.exe b/git/usr/bin/nohup.exe
new file mode 100644
index 0000000000000000000000000000000000000000..fde05e1494dfdb57ebf4202feb3f30f1b14bd027
Binary files /dev/null and b/git/usr/bin/nohup.exe differ
diff --git a/git/usr/bin/notepad b/git/usr/bin/notepad
new file mode 100644
index 0000000000000000000000000000000000000000..21a5ec98d5e133b960d4b4b06c8e6bce4a2e578a
--- /dev/null
+++ b/git/usr/bin/notepad
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+die () {
+ echo "$*" >&2
+ exit 1
+}
+
+case "$1" in
+*/.git/*) ;; # needs LF line endings
+*) exec notepad.exe "$1" || die "Could not launch notepad.exe";;
+esac
+
+test $# = 1 ||
+die "Usage: $0 "
+
+if test -f "$1"
+then
+ case "$(git config i18n.commitencoding 2>/dev/null)" in
+ ''|utf-8|utf8) unix2dos.exe -m "$1";;
+ *) unix2dos.exe "$1";;
+ esac
+fi &&
+notepad.exe "$1" &&
+dos2unix.exe "$1" &&
+case "$1" in
+*/COMMIT_EDITMSG|*\\COMMIT_EDITMSG)
+ ! columns="$(git config format.commitmessagecolumns)" || {
+ msg="$(fmt.exe -s -w "$columns" "$1" -p '#' | \
+ fmt.exe -s -w "$columns" -)" &&
+ printf "%s" "$msg" >"$1"
+ }
+ ;;
+esac
diff --git a/git/usr/bin/nproc.exe b/git/usr/bin/nproc.exe
new file mode 100644
index 0000000000000000000000000000000000000000..2ac3cb8bad85ebfdc8c39f120284b1fe821a97c4
Binary files /dev/null and b/git/usr/bin/nproc.exe differ
diff --git a/git/usr/bin/numfmt.exe b/git/usr/bin/numfmt.exe
new file mode 100644
index 0000000000000000000000000000000000000000..e31d86e39b96a032dbcecb60339708120c35de1e
Binary files /dev/null and b/git/usr/bin/numfmt.exe differ
diff --git a/git/usr/bin/od.exe b/git/usr/bin/od.exe
new file mode 100644
index 0000000000000000000000000000000000000000..cbda2fce59b841c45880b76557c1f9e80ea2f9a1
Binary files /dev/null and b/git/usr/bin/od.exe differ
diff --git a/git/usr/bin/passwd.exe b/git/usr/bin/passwd.exe
new file mode 100644
index 0000000000000000000000000000000000000000..e05de8bb6c194d1074247ab1bb05af39c0ce87ef
Binary files /dev/null and b/git/usr/bin/passwd.exe differ
diff --git a/git/usr/bin/paste.exe b/git/usr/bin/paste.exe
new file mode 100644
index 0000000000000000000000000000000000000000..fc3839feba6c50e1c964932f6a7e6e9877e7000a
Binary files /dev/null and b/git/usr/bin/paste.exe differ
diff --git a/git/usr/bin/pathchk.exe b/git/usr/bin/pathchk.exe
new file mode 100644
index 0000000000000000000000000000000000000000..12673c6ceecaa2b302a45e1554667302d74a57f7
Binary files /dev/null and b/git/usr/bin/pathchk.exe differ
diff --git a/git/usr/bin/perl.exe b/git/usr/bin/perl.exe
new file mode 100644
index 0000000000000000000000000000000000000000..ad3ab31a25f117c4290cef0e79b349f014e6c78e
Binary files /dev/null and b/git/usr/bin/perl.exe differ
diff --git a/git/usr/bin/perl5.42.2.exe b/git/usr/bin/perl5.42.2.exe
new file mode 100644
index 0000000000000000000000000000000000000000..ad3ab31a25f117c4290cef0e79b349f014e6c78e
Binary files /dev/null and b/git/usr/bin/perl5.42.2.exe differ
diff --git a/git/usr/bin/pinentry-w32.exe b/git/usr/bin/pinentry-w32.exe
new file mode 100644
index 0000000000000000000000000000000000000000..5ce6c154b3a12408e623787df53ff1b388db6e7b
Binary files /dev/null and b/git/usr/bin/pinentry-w32.exe differ
diff --git a/git/usr/bin/pinentry.exe b/git/usr/bin/pinentry.exe
new file mode 100644
index 0000000000000000000000000000000000000000..5ce6c154b3a12408e623787df53ff1b388db6e7b
Binary files /dev/null and b/git/usr/bin/pinentry.exe differ
diff --git a/git/usr/bin/pinky.exe b/git/usr/bin/pinky.exe
new file mode 100644
index 0000000000000000000000000000000000000000..6d1f34b433968e15385a3fad1604402928711b9e
Binary files /dev/null and b/git/usr/bin/pinky.exe differ
diff --git a/git/usr/bin/pkcs1-conv.exe b/git/usr/bin/pkcs1-conv.exe
new file mode 100644
index 0000000000000000000000000000000000000000..eaf5e0ed797166bd1bcd108a1022df7a737cb72b
Binary files /dev/null and b/git/usr/bin/pkcs1-conv.exe differ
diff --git a/git/usr/bin/pldd.exe b/git/usr/bin/pldd.exe
new file mode 100644
index 0000000000000000000000000000000000000000..adc2670eedb7885831d9437171d486f6594aeece
Binary files /dev/null and b/git/usr/bin/pldd.exe differ
diff --git a/git/usr/bin/pluginviewer.exe b/git/usr/bin/pluginviewer.exe
new file mode 100644
index 0000000000000000000000000000000000000000..0d249e87ccb9081b868d79f5b71eb4bcad76fde0
Binary files /dev/null and b/git/usr/bin/pluginviewer.exe differ
diff --git a/git/usr/bin/pr.exe b/git/usr/bin/pr.exe
new file mode 100644
index 0000000000000000000000000000000000000000..189dfdb462e6769693d603e7a0d0f651e8245eb9
Binary files /dev/null and b/git/usr/bin/pr.exe differ
diff --git a/git/usr/bin/printenv.exe b/git/usr/bin/printenv.exe
new file mode 100644
index 0000000000000000000000000000000000000000..87a681be60d9b3befe4fa9f3b0e8c6334ee46371
Binary files /dev/null and b/git/usr/bin/printenv.exe differ
diff --git a/git/usr/bin/printf.exe b/git/usr/bin/printf.exe
new file mode 100644
index 0000000000000000000000000000000000000000..58b7efd365c4fb8de0502259c1cd795cf7576f58
Binary files /dev/null and b/git/usr/bin/printf.exe differ
diff --git a/git/usr/bin/profiler.exe b/git/usr/bin/profiler.exe
new file mode 100644
index 0000000000000000000000000000000000000000..48ec8a0a8b095219b6987d8c19188e249180e25a
Binary files /dev/null and b/git/usr/bin/profiler.exe differ
diff --git a/git/usr/bin/ps.exe b/git/usr/bin/ps.exe
new file mode 100644
index 0000000000000000000000000000000000000000..15c650d5052b302d1a4f1ff47393064a3f6a1b6f
Binary files /dev/null and b/git/usr/bin/ps.exe differ
diff --git a/git/usr/bin/psl-make-dafsa b/git/usr/bin/psl-make-dafsa
new file mode 100644
index 0000000000000000000000000000000000000000..5f84425329225103e3fedf39f4a2987735121144
--- /dev/null
+++ b/git/usr/bin/psl-make-dafsa
@@ -0,0 +1,695 @@
+#!/usr/bin/env python
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE.chromium file.
+
+"""
+A Deterministic acyclic finite state automaton (DAFSA) is a compact
+representation of an unordered word list (dictionary).
+
+https://en.wikipedia.org/wiki/Deterministic_acyclic_finite_state_automaton
+
+This python program converts a list of strings to a byte array in C/C++.
+This python program fetches strings and return values from a gperf file
+and generates a C/C++ file with a byte array representing graph that can be
+used as a memory efficient replacement for the perfect hash table.
+
+The input strings must consist of printable 7-bit ASCII characters or UTF-8
+multibyte sequences. Control characters in the range [0x00-0x1F] are not
+allowed. The return values must be one digit integers. .
+
+In this program a DAFSA is a diamond shaped graph starting at a common
+source node and ending at a common sink node. All internal nodes contain
+a label and each word is represented by the labels in one path from
+the source node to the sink node.
+
+The following python represention is used for nodes:
+
+ Source node: [ children ]
+ Internal node: (label, [ children ])
+ Sink node: None
+
+The graph is first compressed by prefixes like a trie. In the next step
+suffixes are compressed so that the graph gets diamond shaped. Finally
+one to one linked nodes are replaced by nodes with the labels joined.
+
+The order of the operations is crucial since lookups will be performed
+starting from the source with no backtracking. Thus a node must have at
+most one child with a label starting by the same character. The output
+is also arranged so that all jumps are to increasing addresses, thus forward
+in memory.
+
+The generated output has suffix free decoding so that the sign of leading
+bits in a link (a reference to a child node) indicate if it has a size of one,
+two or three bytes and if it is the last outgoing link from the actual node.
+A node label is terminated by a byte with the leading bit set.
+
+The generated byte array can described by the following BNF:
+
+ ::= < 8-bit value in range [0x00-0xFF] >
+
+ ::= < byte in range [0x1F-0x7F] >
+ ::= < char + 0x80, byte in range [0x9F-0xFF] >
+ ::= < value + 0x80, byte in range [0x80-0x8F] >
+
+ ::= < byte in range [0x00-0x3F] >
+ ::= < byte in range [0x40-0x5F] >
+ ::= < byte in range [0x60-0x7F] >
+
+ ::= < byte in range [0x80-0xBF] >
+ ::= < byte in range [0xC0-0xDF] >
+ ::= < byte in range [0xE0-0xFF] >
+
+ ::=
+
+