History log of /src/usr.bin/unexpand/unexpand.c |
Revision | | Date | Author | Comments |
1.18 |
| 13-Sep-2019 |
dyoung | Deduplicate some code I'd duplicated, shorten a couple of staircases, repair the indentation in usage(). NFCI.
|
1.17 |
| 13-Sep-2019 |
dyoung | Fix `unexpand -a -t n`, which also did not treat `-t n` like it established stops n, 2 n, 3 n, ....
|
1.16 |
| 13-Sep-2019 |
dyoung | Fix a handful of bugs in unexpand(1):
1. -a and -t were mutually exclusive when they should not be.
2. `unexpand -t n` did not treat a file like there were stops at n, 2 n, 3 n, 4 n, and so on. So expanded tabs after column 4 were not collapsed.
3. a debug fprintf wrote every tabstop set with `-t` to the standard error stream.
TBD write some tests.
|
1.15 |
| 03-Feb-2016 |
christos | branches: 1.15.16; PR/50750: David Binderman: Check bounds before dereference
|
1.14 |
| 21-Dec-2008 |
christos | PR/11228: Ben Harris: Unexpand -t should take tab list. Based on patch supplied by Roy Marples.
|
1.13 |
| 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.12 |
| 07-Aug-2003 |
agc | branches: 1.12.34; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.11 |
| 14-Jul-2003 |
itojun | use bounded string op
|
1.10 |
| 08-Apr-2003 |
dsl | Add -t tabsize to fix bin/21058
|
1.9 |
| 08-Apr-2003 |
dsl | KNF
|
1.8 |
| 11-Feb-1999 |
kleink | Update usage string: file arguments are optional.
|
1.7 |
| 10-Feb-1999 |
kleink | Replace home-grown option handling with getopt(3); delint.
|
1.6 |
| 20-Oct-1997 |
lukem | WARNSify, fix .Nm usage
|
1.5 |
| 24-Dec-1994 |
cgd | pull in string.h
|
1.4 |
| 20-Dec-1994 |
jtc | cleanup from jimj
|
1.3 |
| 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.12.34.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.15.16.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|