Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename awk to bioawk and tawk to bioawkt #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sjackman
Copy link

The program name awk clearly clashes with the system awk, and tawk clashes with Thompson AWK. Most people probably rename these executables. It would be great if this were reflected in the Makefile.

The program name awk clearly clashes with the system awk, and tawk clashes with Thompson AWK.
@ghuls
Copy link

ghuls commented Dec 11, 2013

Partially fixed in 7e8a89f.

in the clean target, awk is still listed instead of bioawk:

clean:
    rm -fr a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda awk ytab.* proctab.c *.dSYM

Change to:

clean:
    rm -fr a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda bioawk ytab.* proctab.c *.dSYM

Also the manual awk.1 is not renamed to bioawk.1 in the makefile and in the directory structure:

SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile  \
     awk.1

ctSkennerton pushed a commit to ctSkennerton/bioawk that referenced this pull request May 22, 2019
Because NCHARS is (256+3) cc->cc_func(i) was called with 256, 257
and 258 as argument leading to possible undefined behaviour (at
least on NetBSD with non-C locale (e.g. `en_US.UTF-8') this led to
only honoring one `[:...:]' character class in bracket expressions).

Fix lh3#11
ctSkennerton pushed a commit to ctSkennerton/bioawk that referenced this pull request May 22, 2019
Avoid undefined behaviour when using ctype(3) functions in relex() (possible fix for lh3#11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants