Ben Hoyt
Ben Hoyt
We're using beaker's SQLAlchemy database-backed session support, but our web application also sets up its own SQLAlchemy engine instance. However, we'd like to be able to use a single, shared...
It'd be good to add a library of various functions to help with processing CSV files (or other tabular data, it wouldn't be limited to CSV). For example: * The...
Per discussion on issue #33 (from [here](https://github.com/benhoyt/goawk/issues/33#issuecomment-782601242) down), GoAWK handles CR LF (Windows) line endings differently from gawk (I haven't tried awk or mawk). GoAWK doesn't include the CR in...
This PR adds a `lib.awk` library with various helper functions, intended mainly for CSV processing and CSV file creation. The idea here is to try these out in pure AWK...
This is a manifestation of https://github.com/golang/go/issues/21922 - use pipes to fix it. Tricky! Fixes #122.
`TestExecuteContextSystemTimeout` takes 4s, indicating that the cancellation of the context isn't actually killing the "sleep 4" command. Presumably I was wrong about being wrong [here](https://github.com/benhoyt/goawk/issues/104#issuecomment-1129726588). :-) I guess we need...
Per @arnoldrobbins comment https://github.com/rmyorston/busybox-w32/issues/174#issuecomment-599194834, the POSIX spec says that `length` and similar functions should work with characters, not bytes. The [POSIX spec](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html) says: > The index, length, match, and substr...
Two cases: 1) `echo 2 3 4 | goawk '{ $$0++; print $0 }'` prints `2 4 4` instead of `3`. I think this is happening because we parse this...
The example method name `FunctionBar` in the docstring example [here](http://google.github.io/styleguide/pyguide.html#382-modules) doesn't match the recommended style for method names in http://google.github.io/styleguide/pyguide.html#316-naming. This PR fixes this by changing `FunctionBar` to `function_bar`.
Since the last changes to this scandir module, CPython has fixed a couple of issues like adding a finalizer and adding a `.close()` method to the iterator. Python 3.6 added...