onetrueawk / awk

One true awk
Other
1.99k stars 160 forks source link

a.out is what is created but where is awk? #220

Closed slyfox1186 closed 8 months ago

slyfox1186 commented 8 months ago

I ran your instruction and there was no output in the terminal window

I renamed awk: /usr/bin/awk >> /usr/bin/nawk I ran your code in the build directory after extracting the files 'oldawk=nawk make check > check.out 2>&1'

no output was generated.

Then the directory had more files in it.

I then manually ran make

which said 'a.out' already exists.

I renamed: a.out >> awk

and you can run it like ./awk

is this what you guys had in mind?

plan9 commented 8 months ago

the binary a.out that is generated via make is for you to install either in $HOME/bin/awk or in someplace public like /usr/local/bin/awk. that's what we had in mind. it is not intended to replace the system's own awk [may be a version of OTA, or gawk, depending on the system] in /usr/bin, but your call.

slyfox1186 commented 8 months ago

Ok very good thank you.