mirror of
https://github.com/jart/cosmopolitan.git
synced 2024-05-18 03:22:40 +00:00
a6baba1b07
The WIN32 CreateProcess() function does not require an .exe or .com suffix in order to spawn an executable. Now that we have Cosmo bash we're no longer so dependent on the cmd.exe prompt.
16 lines
610 B
Bash
Executable file
16 lines
610 B
Bash
Executable file
#!/bin/sh
|
|
[ -d libc/str ] || exit
|
|
[ -x o//tool/curl/curl ] || make -j8 o//tool/curl/curl || exit
|
|
mkdir -p o/tmp/ || exit
|
|
|
|
shineget() {
|
|
echo $2
|
|
o//tool/curl/curl $2 >o/tmp/$$ || exit
|
|
mv o/tmp/$$ $1 || exit
|
|
}
|
|
|
|
shineget libc/str/blocks.txt https://www.unicode.org/Public/UCD/latest/ucd/Blocks.txt
|
|
shineget libc/str/unicodedata.txt https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt
|
|
shineget libc/str/eastasianwidth.txt https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
|
|
shineget libc/str/SpecialCasing.txt https://www.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
|