What's the purpose of `testdata/echo`
guilherme-puida opened this issue · comments
I noticed that testdata/echo
is a compiled binary (testdata/echo: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
) and was wondering what it is used for.
I tried looking for commits that touched this file and it seems like it was imported from onetruawk test data. I also (briefly) looked at the test drivers and it looks like this is not used anywhere, but I might be wrong.
Ah, thanks for the report! I have no idea what that file is. I'll do some further digging and then delete it. Maybe it's Brian Kernighan's backdoor into GoAWK. ;-)
Thanks!
Maybe it's Brian Kernighan's backdoor into GoAWK. ;-)
I hope not :^)
Sorry for commenting on an already-closed issue, but can you consider tagging a new release?
Tagging a new release simplifies the Debian packaging, since I won't need to repackage your code to exclude this file or track HEAD instead of git tags.
It's no big deal if you don't want to tag, though. Just ignore me if that's the case :^)
@guilherme-puida Done! https://github.com/benhoyt/goawk/releases/tag/v1.27.0
Speaking of Debian, I've been hoping that Debian updates its version of awk (Gawk is the default) to Gawk 5.3.0, which includes the new CSV support. Any idea how to make that happen? I've emailed the maintainer (Adrian Bunk) a couple of times, but got no response. Once it's in Debian it'll automatically trickle down to Ubuntu too. Both stable and unstable are still on 5.2.1.
The original-awk package has updated unstable to the new version with CSV, which is nice, though it seems stable is still on the old version.
@guilherme-puida Done! https://github.com/benhoyt/goawk/releases/tag/v1.27.0
Thanks!
Speaking of Debian, I've been hoping that Debian updates its version of awk (Gawk is the default) to Gawk 5.3.0, which includes the new CSV support. Any idea how to make that happen? I've emailed the maintainer (Adrian Bunk) a couple of times, but got no response.
I'm not sure if we can do anything else, but I'll ask around and get back to you.
The original-awk package has updated unstable to the new version with CSV, which is nice, though it seems stable is still on the old version.
The version on stable is kind of set in stone (that's why it's called stable). There is a way to update it via backports, but it's an extra repository that users can opt in. This page has a flowchart showing the way packages flow through the different releases.
I'm not sure if we can do anything else, but I'll ask around and get back to you.
Thanks!