1
0

Add auto-generated USAGE.md, update README.md and TODO.md

This commit is contained in:
2022-02-20 04:24:39 +03:00
parent 0dd0011190
commit 4418a026a9
4 changed files with 138 additions and 14 deletions

12
builder
View File

@ -25,11 +25,13 @@ trap cleanup SIGINT SIGTERM ERR EXIT
function reg_readkey () # $1: path, $2: key
{
cygpath -u "$(
reg query "$1" //v "$2" | \
grep -F "$2" | \
awk '{ $1=$2=""; print $0 }' | \
sed -r 's|^\s*(.+)\s*|\1|g')"
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
cygpath -u "$(
reg query "$1" //v "$2" | \
grep -F "$2" | \
awk '{ $1=$2=""; print $0 }' | \
sed -r 's|^\s*(.+)\s*|\1|g')"
fi
}
# Whoami