/
githubmirror
/
gawk
Обзор
Документация
Войти
/
githubmirror
/
gawk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/lc_num1.awk
19 строк
418 B
Arnold D. Robbins
Move to 3.1.8.
16 июл 2010, 15:55
16 июл 2010, 15:55
00ef042
Код
Авторство
О чём код?
# Bug reported by Ulrich Drepper. # BEGIN { # printf("%'d %d\n", 1000000, 1000000) # } # April 2010: # This needs to be a smarter test so that systems without the %'d flag # don't generate a needless failure. BEGIN { s = sprintf("%'d", 1234) if (s == "1,234" || s == "1234") print "ok, or at least the quote flag isn't supported" else { command = "od -c" print("fail:", s) | command close(command) } }