mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Stop using .com extension in monorepo
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.
This commit is contained in:
parent
c8383f25b4
commit
a6baba1b07
239 changed files with 2092 additions and 2244 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
bing.com <"$1" |
|
||||
fold.com |
|
||||
bing <"$1" |
|
||||
fold |
|
||||
exec less
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python.com
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import re
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python.com
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# fix-third-party.py
|
||||
# normalizes third party codebases to cosmopolitan style
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python.com
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# OVERVIEW
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
exec grep \
|
||||
--exclude=TAGS \
|
||||
--exclude=HTAGS \
|
||||
--exclude=*.com \
|
||||
--exclude=*.dbg \
|
||||
--exclude-dir=o \
|
||||
--exclude-dir=gcc \
|
||||
--exclude-dir=.git \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
ASCII2UTF8=$(command -v ascii2utf8.com 2>/dev/null) || {
|
||||
ASCII2UTF8=$(ls -1 o/*/tool/viz/ascii2utf8.com | head -n1)
|
||||
ASCII2UTF8=$(command -v ascii2utf8 2>/dev/null) || {
|
||||
ASCII2UTF8=$(ls -1 o/*/tool/viz/ascii2utf8 | head -n1)
|
||||
}
|
||||
|
||||
for x; do
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec python.com -c "
|
||||
exec python -c "
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
from math import *
|
||||
|
|
|
@ -6,4 +6,4 @@ from math import *
|
|||
s = str($*)
|
||||
sys.stdout.write(s)
|
||||
" >/tmp/pe
|
||||
exec python.com /tmp/pe
|
||||
exec python /tmp/pe
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec python.com -c "
|
||||
exec python -c "
|
||||
import sys
|
||||
from math import *
|
||||
s = str(oct($*).replace('o',''))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec python.com -c "
|
||||
exec python -c "
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
from math import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue