Our great sponsors
awk | bwk | |
---|---|---|
34 | 2 | |
1,918 | 54 | |
- | - | |
8.4 | 0.0 | |
about 1 month ago | almost 8 years ago | |
C | C | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awk
-
Csvlens: Command line CSV file viewer. Like less but made for CSV
Awk now supports a `--csv` flag for processing csv's. https://github.com/onetrueawk/awk/blob/master/README.md
-
Perl first commit: a “replacement” for Awk and sed
Right, "the one true awk" corresponds to a book written in 1988, very explicity. https://github.com/onetrueawk/awk
You were the one that that said POSIX awk to begin with, I was using your terms.
As far as shitting on the GMU tools, I don't think I've seen someone do that for over 20 years.
This is not a productive conversation. You can live life however you want
-
[2022 all days][Awk] AoC in 101 lines of Awk
I also wrote a small program to benchmark and check the solutions across different Awk implementations (see the image). I use the macos system awk (which is pretty close to https://github.com/onetrueawk/awk if I'm not mistaken) as a reference (the first column), so all solutions had to work with that.
-
Where is keyword behavior defined?
A simpler Yacc grammar is awk/awkgram.y.
-
-🎄- 2022 Day 11 Solutions -🎄-
Neat, this is now the third year I'm using awk and still learning new tricks. (I'm using awk as the reference, so I don't use gnu extensions.)
-
Capitalizing words in awk
I did this in nawk, which doesn't support extended regular expressions. If instead you're using gawk, which does, check out \b for word boundaries in extended regular expressions. The [^a-z][a-z] approach you showed consumes the prior character.
-
Coffee with Brian Kernighan – Computerphile [video]
BWK’s commit and test files (mentioned in the video)
https://github.com/onetrueawk/awk/commit/d3a19e6f2533d479841...
-
ลอง awk ภาษาไทยใช้ได้แล้วแต่ต้องใช้ branch ชื่อ unicode-support
git clone -b unicode-support https://github.com/onetrueawk/awk.git
-
anon has a wholesome family
This is dumb as fuck. Brian Kernighan of K&R (The C Programming Language) is 80 and he’s still more intelligent than any of you retards. Mf just submitted a patch to awk a couple months ago https://github.com/onetrueawk/awk
-
Unix legend Brian Kernighan, who is the "k" in "awk" and is 80 years old, keeps fixing things. He has added Unicode support to awk, but he couldn't figure out how use git, so he just emailed his changes to the current maintainer
The Unicode branch: https://github.com/onetrueawk/awk/tree/unicode-support
bwk
- Awk implementation?
-
How to Join a Team and Learn a Codebase
Document the steps to setup dev environment in your own words and highlight the issues that you run into
Lots of people are commenting saying they have problems with this.
The first thing I do when working on an unfamiliar project is to write a SHELL SCRIPT that records everything I did. I keep that at the root of the git repo, usually as "run.sh".
For example here is what I did when hacking on Kernighan's awk 5 years ago:
https://github.com/andychu/bwk/blob/master/run.sh
So now 5 years later I can see exactly where I got the files from. And I usually count how much source code there is in a repo to get a feel for it, and I have that exact command.
And I was trying to figure out how much test coverage there is, so I ran a bunch of gcov stuff, which involve Python.
The shell script may not work now, but the point is that I can tell within 10 seconds what I did 5 years ago.
So basically I suggest becoming SHELL LITERATE and checking in shell script with comments. (You can also use a Makefile, but shell is less prescriptive about its model and has fewer gotchas. Make has all the gotchas of shell plus some more.)
https://news.ycombinator.com/item?id=25400278
What are some alternatives?
frawk - an efficient awk-like language
tectonic - A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.
goawk - A POSIX-compliant AWK interpreter written in Go, with CSV support
awesome-c - A curated list of awesome C frameworks, libraries, resources and other shiny things. Inspired by all the other awesome-... projects out there.
AwkUnicodeSplit - An awk(1) fragment for reassembling Unicode characters after a split()
calendar - print upcoming events
DOOM - DOOM Open Source Release
2048.wasm - 2048 written in C and compiled to WebAssembly
awka - Revive awka - Awk to C Compiler
project-based-tutorials-in-c - A curated list of project-based tutorials in C