diff options
| author | Jim Meyering <jim@meyering.net> | 2000-01-22 10:09:29 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2000-01-22 10:09:29 +0000 |
| commit | e48c32024459b7b1945f4f37f4be7b1ae04d3ea0 (patch) | |
| tree | 7ab51e2789d93b2acbf5e8ae3e2ca28c5ec3f362 /tests/seq/basic | |
| parent | . (diff) | |
| download | coreutils-e48c32024459b7b1945f4f37f4be7b1ae04d3ea0.tar.gz coreutils-e48c32024459b7b1945f4f37f4be7b1ae04d3ea0.zip | |
Add support for octal and hexadecimal output.
(intconv): New variable.
(usage): Update.
(main): Call scan_arg instead of scan_double_arg. Call check_format
before scan_arg.
(scan_int_arg, scan_arg): New functions.
(check_format): Add intconv argument. Accept %d, %u, %o, %x, %X.
(print_numbers): If intconv is true, pass an int argument to printf.
Diffstat (limited to 'tests/seq/basic')
0 files changed, 0 insertions, 0 deletions
