summaryrefslogtreecommitdiff
path: root/sys/src/cmd/awk/main.c
AgeCommit message (Collapse)Author
2020-03-10improve usage messages (thanks henesy)Ori Bernstein
Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on.
2017-08-12awk: allow string as exit statuscinap_lenrek
2016-04-30awk: temporarily fix for NaN() exceptions on 386cinap_lenrek
problem is NaN() produces a SNaN, not a QNaN... and on the 387, storing 80 bit SNaN in register to a 64-bit memory destination traps. SNaN/QNaN encoding is machine specific. mips has the qiet/signaling bit inverted. disabling fp exception in main() now, but that sucks. i think the best solution would be to not even call strtod() in is_number() but just write a regex or a little state machine that will only accept numbers without nan and ±inf. that might even make it faster and is more robust than relying on the os's strtod() details.
2016-04-27use Beof for awk portben
2016-04-26New libregexp and APE ported to nativeben
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen