diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-24 07:38:04 +0000 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-24 07:38:04 +0000 |
| commit | 0d568f76787ee02a96cb6182992afd7d57f3fa08 (patch) | |
| tree | 7150416fb7b11a64ca268dc749257eaabc8193df /src/unexpand.c | |
| parent | Standardize on "tab stop" (the POSIX usage) (diff) | |
| download | coreutils-0d568f76787ee02a96cb6182992afd7d57f3fa08.tar.gz coreutils-0d568f76787ee02a96cb6182992afd7d57f3fa08.zip | |
Revamp to resemble the new unexpand.c better.
(usage): -i does not convert tabs after non-tabs.
(add_tab_stop): Renamed from add_tabstop. All uses changed.
(parse_tab_stop): Renamed from parse_tabstop. All uses changed.
(validate_tab_stop): Renamed from validate_tabstop. All uses changed.
(next_file, main): Check fclose against 0, not EOF.
(expand): Remove unnecessary casts.
Add another loop nesting level, for lines, so that per-line variables
are initialized cleanly.
Revamp tab checking. Check for write error immediately, rather
than just once at the end of the program.
Diffstat (limited to 'src/unexpand.c')
0 files changed, 0 insertions, 0 deletions
