-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70a2d50
commit ccd8810
Showing
410 changed files
with
85,780 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
awk | ||
=== | ||
|
||
To upgrade to a new version of awk: | ||
|
||
1. Checkout `dev/UPSTREAM`. | ||
1. Replace its contents with the new version. | ||
1. Rename `src/.gitignore` to `src/.gitignore.dist`. | ||
1. Commit and push the new content. | ||
1. Create an eng/ branch. | ||
1. `git merge dev/UPSTREAM` into your branch and resolve any conflicts. | ||
1. Re-generate auto-generated files using `make -C src proctab.c` | ||
1. Review, test, and nominate that eng/ branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>OpenSourceProject</key> | ||
<string>awk</string> | ||
<key>OpenSourceVersion</key> | ||
<string>August 16, 2020</string> | ||
<key>OpenSourceWebsiteURL</key> | ||
<string>https://github.com/onetrueawk/awk</string> | ||
<key>OpenSourceURL</key> | ||
<string>https://github.com/onetrueawk/awk/archive/ed6ff8c1cb3136df1ea34ea2172fa84245c99c2b.zip</string> | ||
<key>OpenSourceSHA512256</key> | ||
<string>a3e59fba12d6ebb1ed921d6d42e4065474b4156fac5409408d4cb0be2cc462f6</string> | ||
<key>OpenSourceImportDate</key> | ||
<string>2020-09-21</string> | ||
<key>OpenSourceModifications</key> | ||
<array> | ||
<string>3668527</string> | ||
<string>Fix build warnings.</string> | ||
<string>53872683: Unix Conformance: FAIL /tset/POSIX.cmd/awk/awk.ex - non-english locale tests</string> | ||
<string>62947651: Fix return condition for readrec()</string> | ||
<string>57168555: Multibyte support for character classes</string> | ||
<string>59291605: Fix mandoc linter errors in man page</string> | ||
</array> | ||
<key>OpenSourceLicense</key> | ||
<string>Other</string> | ||
<key>OpenSourceLicenseFile</key> | ||
<string>awk.txt</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,226 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 45; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
727082260FD476D400B533D9 /* b.c in Sources */ = {isa = PBXBuildFile; fileRef = 727082100FD476D400B533D9 /* b.c */; }; | ||
727082270FD476D400B533D9 /* lex.c in Sources */ = {isa = PBXBuildFile; fileRef = 727082130FD476D400B533D9 /* lex.c */; }; | ||
727082280FD476D400B533D9 /* lib.c in Sources */ = {isa = PBXBuildFile; fileRef = 727082140FD476D400B533D9 /* lib.c */; }; | ||
727082290FD476D400B533D9 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 727082150FD476D400B533D9 /* main.c */; }; | ||
7270822D0FD476D400B533D9 /* parse.c in Sources */ = {isa = PBXBuildFile; fileRef = 7270821A0FD476D400B533D9 /* parse.c */; }; | ||
7270822E0FD476D400B533D9 /* proctab.c in Sources */ = {isa = PBXBuildFile; fileRef = 7270821B0FD476D400B533D9 /* proctab.c */; }; | ||
7270822F0FD476D400B533D9 /* run.c in Sources */ = {isa = PBXBuildFile; fileRef = 7270821E0FD476D400B533D9 /* run.c */; }; | ||
727082300FD476D400B533D9 /* tran.c in Sources */ = {isa = PBXBuildFile; fileRef = 7270821F0FD476D400B533D9 /* tran.c */; }; | ||
D34819EF25196A0C005F8150 /* awkgram.tab.c in Sources */ = {isa = PBXBuildFile; fileRef = D34819EE25196A0C005F8150 /* awkgram.tab.c */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
727082020FD476AA00B533D9 /* awk */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = awk; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
7270820D0FD476D400B533D9 /* awk.1 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.man; path = awk.1; sourceTree = "<group>"; }; | ||
7270820E0FD476D400B533D9 /* awk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = awk.h; sourceTree = "<group>"; }; | ||
7270820F0FD476D400B533D9 /* awkgram.y */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.yacc; path = awkgram.y; sourceTree = "<group>"; }; | ||
727082100FD476D400B533D9 /* b.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = b.c; sourceTree = "<group>"; }; | ||
727082120FD476D400B533D9 /* FIXES */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FIXES; sourceTree = "<group>"; }; | ||
727082130FD476D400B533D9 /* lex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lex.c; sourceTree = "<group>"; }; | ||
727082140FD476D400B533D9 /* lib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lib.c; sourceTree = "<group>"; }; | ||
727082150FD476D400B533D9 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; }; | ||
727082180FD476D400B533D9 /* maketab.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = maketab.c; sourceTree = "<group>"; }; | ||
7270821A0FD476D400B533D9 /* parse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = parse.c; sourceTree = "<group>"; }; | ||
7270821B0FD476D400B533D9 /* proctab.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = proctab.c; sourceTree = "<group>"; }; | ||
7270821C0FD476D400B533D9 /* proto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = proto.h; sourceTree = "<group>"; }; | ||
7270821E0FD476D400B533D9 /* run.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = run.c; sourceTree = "<group>"; }; | ||
7270821F0FD476D400B533D9 /* tran.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tran.c; sourceTree = "<group>"; }; | ||
72B1564D0FD47AC000A17BD1 /* awk.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = awk.plist; sourceTree = "<group>"; }; | ||
D34819ED25196A0C005F8150 /* awkgram.tab.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = awkgram.tab.h; sourceTree = "<group>"; }; | ||
D34819EE25196A0C005F8150 /* awkgram.tab.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = awkgram.tab.c; sourceTree = "<group>"; }; | ||
D39D30BF23FCD8B60088DC60 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
727082000FD476AA00B533D9 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
727081EE0FD4748300B533D9 = { | ||
isa = PBXGroup; | ||
children = ( | ||
72B1564D0FD47AC000A17BD1 /* awk.plist */, | ||
7270820A0FD476B000B533D9 /* src */, | ||
727082030FD476AA00B533D9 /* Products */, | ||
); | ||
sourceTree = "<group>"; | ||
}; | ||
727082030FD476AA00B533D9 /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
727082020FD476AA00B533D9 /* awk */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
7270820A0FD476B000B533D9 /* src */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
D34819EE25196A0C005F8150 /* awkgram.tab.c */, | ||
D34819ED25196A0C005F8150 /* awkgram.tab.h */, | ||
7270820D0FD476D400B533D9 /* awk.1 */, | ||
7270820E0FD476D400B533D9 /* awk.h */, | ||
7270820F0FD476D400B533D9 /* awkgram.y */, | ||
727082100FD476D400B533D9 /* b.c */, | ||
727082120FD476D400B533D9 /* FIXES */, | ||
727082130FD476D400B533D9 /* lex.c */, | ||
727082140FD476D400B533D9 /* lib.c */, | ||
D39D30BF23FCD8B60088DC60 /* LICENSE */, | ||
727082150FD476D400B533D9 /* main.c */, | ||
727082180FD476D400B533D9 /* maketab.c */, | ||
7270821A0FD476D400B533D9 /* parse.c */, | ||
7270821B0FD476D400B533D9 /* proctab.c */, | ||
7270821C0FD476D400B533D9 /* proto.h */, | ||
7270821E0FD476D400B533D9 /* run.c */, | ||
7270821F0FD476D400B533D9 /* tran.c */, | ||
); | ||
path = src; | ||
sourceTree = "<group>"; | ||
usesTabs = 1; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
727082010FD476AA00B533D9 /* awk */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = 727082070FD476AB00B533D9 /* Build configuration list for PBXNativeTarget "awk" */; | ||
buildPhases = ( | ||
727081FF0FD476AA00B533D9 /* Sources */, | ||
727082000FD476AA00B533D9 /* Frameworks */, | ||
72B156590FD47B7C00A17BD1 /* Copy files and documentation */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = awk; | ||
productName = awk; | ||
productReference = 727082020FD476AA00B533D9 /* awk */; | ||
productType = "com.apple.product-type.tool"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
727081F00FD4748300B533D9 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
LastUpgradeCheck = 1300; | ||
}; | ||
buildConfigurationList = 727081F30FD4748300B533D9 /* Build configuration list for PBXProject "awk" */; | ||
compatibilityVersion = "Xcode 2.4"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
English, | ||
en, | ||
); | ||
mainGroup = 727081EE0FD4748300B533D9; | ||
productRefGroup = 727082030FD476AA00B533D9 /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
727082010FD476AA00B533D9 /* awk */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXShellScriptBuildPhase section */ | ||
72B156590FD47B7C00A17BD1 /* Copy files and documentation */ = { | ||
isa = PBXShellScriptBuildPhase; | ||
buildActionMask = 8; | ||
files = ( | ||
); | ||
inputPaths = ( | ||
); | ||
name = "Copy files and documentation"; | ||
outputPaths = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 1; | ||
shellPath = /bin/bash; | ||
shellScript = "mkdir -p $INSTALL_ROOT/usr/local/OpenSourceVersions\ncp $SRCROOT/awk.plist $INSTALL_ROOT/usr/local/OpenSourceVersions\n\nmkdir -p $INSTALL_ROOT/usr/share/man/man1\ncp $SRCROOT/src/awk.1 $INSTALL_ROOT/usr/share/man/man1 \nchmod 0444 $INSTALL_ROOT/usr/share/man/man1/awk.1 \n\nmkdir -p $INSTALL_ROOT/usr/local/OpenSourceLicenses\ncp $SRCROOT/src/LICENSE $INSTALL_ROOT/usr/local/OpenSourceLicenses/awk.txt\nchmod 0644 $INSTALL_ROOT/usr/local/OpenSourceLicenses/awk.txt\n"; | ||
}; | ||
/* End PBXShellScriptBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
727081FF0FD476AA00B533D9 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
727082260FD476D400B533D9 /* b.c in Sources */, | ||
727082270FD476D400B533D9 /* lex.c in Sources */, | ||
727082280FD476D400B533D9 /* lib.c in Sources */, | ||
D34819EF25196A0C005F8150 /* awkgram.tab.c in Sources */, | ||
727082290FD476D400B533D9 /* main.c in Sources */, | ||
7270822D0FD476D400B533D9 /* parse.c in Sources */, | ||
7270822E0FD476D400B533D9 /* proctab.c in Sources */, | ||
7270822F0FD476D400B533D9 /* run.c in Sources */, | ||
727082300FD476D400B533D9 /* tran.c in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
727081F20FD4748300B533D9 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; | ||
CODE_SIGN_IDENTITY = "-"; | ||
COPY_PHASE_STRIP = YES; | ||
CURRENT_PROJECT_VERSION = "$(RC_ProjectSourceVersion)"; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
VERSIONING_SYSTEM = "apple-generic"; | ||
WARNING_CFLAGS = "-Werror=format-nonliteral"; | ||
ZERO_LINK = NO; | ||
}; | ||
name = Release; | ||
}; | ||
727082060FD476AB00B533D9 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
CLANG_ENABLE_OBJC_WEAK = YES; | ||
CODE_SIGN_IDENTITY = "-"; | ||
INSTALL_PATH = /usr/bin; | ||
PRODUCT_NAME = awk; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
727081F30FD4748300B533D9 /* Build configuration list for PBXProject "awk" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
727081F20FD4748300B533D9 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
727082070FD476AB00B533D9 /* Build configuration list for PBXNativeTarget "awk" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
727082060FD476AB00B533D9 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 727081F00FD4748300B533D9 /* Project object */; | ||
} |
7 changes: 7 additions & 0 deletions
7
awk-awk-35/awk.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
awk-awk-35/awk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
a.out | ||
maketab | ||
proctab.c | ||
ytab.c | ||
ytab.h | ||
*.o |
Oops, something went wrong.