xref: /titanic_51/usr/src/lib/libcmd/common/RELEASE (revision a31148363f598def767ac48c5d82e1572e44b935)
109-09-09 fds.c: add --unit=fd
209-08-25 tail.c: initialize Tail_t.fifo=0 !!
309-08-15 tail.c: fix fifo logic
409-08-11 wc.c: add setlocale(LC_CTYPE,"C") cleanup, add utf8 optimzations
509-08-10 uniq.c: replace -c 1..9999 sfsprintf() with inline conversion
609-08-01 join.c: fix empty field null pointer deref
709-07-23 pathchk.c: add -P,--path and -a,--all
809-07-02 chgrp.c,chmod.c,cksum.c: fts_flags() default only if not --recursive
909-06-19 cmd.h,cmdinit.c: add ERROR_CALLBACK for ERROR_NOTIFY main() callback
1009-06-19 mktemp.c: --unsafe now checks and prints path but does create
1109-06-19 tee.c: add ERROR_CALLBACK for tee_cleanup() sfio discipline pop
1209-06-18 rm.c: handle interrupts during interactive query
1309-06-18 cp.c: handle interrupts during interactive query
1409-05-25 tail.c: fix old style option logic to handle --invalid-long-option
1509-05-24 tail.c: -r == +1r
1609-05-01 mktemp.c: handle foo/prefix, add -p dir and -u
1709-03-31 cat.c: handle --no* options
1809-03-15 tail.c: fix --timeout termination logic
1909-03-03 tee.c: clean up sfio disciplines on error
2009-03-03 cat.c: fix -v|-e|-n|-B interaction bugs
2109-02-14 tail.c: fix VSC failures
2209-02-14 join.c: fix VSC failure
2309-02-02 uniq.c: document -number == -fnumber, +number == -snumber
2409-02-02 tail.c: fix usage[] for negative offsets, add sun -b
2509-02-02 mktemp.c: add
2609-02-02 features/utsname: UWIN _UNAME_os_DEFAULT => UWIN
2709-01-31 dirname.c: add experimental { -f -r -x } for pathpath(3)
2809-01-05 cmp.c: fix EOF diagnostic to conform to posix
2909-01-03 mkfifo.c: fix --mode=mode logic
3008-12-07 date.c: add %[_][EO]K for [space pad] [full|long] iso docs
3108-11-10 stty.c: check for -t grouping so -tostop != -t -ostop
3208-10-15 rm.c: handle 'rm -f x x' => exit 0
3308-09-08 stty.c: #ifdef guard TAB[012] -- freebsd: damn the posix, full speed ahead
3408-06-17 shcmd.h: move to libast
3508-04-24 uniq.c: add optget() 'n' option for -1 => -f1
3608-04-24 getconf.c: clarify diffs between "name - value" and "name = value"
3708-04-01 cut.c: add write error check
3808-04-01 paste.c: fix --noserial stream vector access bug
3908-04-01 pids.c: add ls/ps style --format=format
4008-04-01 stty.c: fix off2 unitialized reference
4108-03-28 chgrp.c: add --before=file
4208-03-14 pids.c: add
4308-03-11 chgrp.c: fix -m to use uid:gid as lookup key
4408-02-11 Makefile: add -lmd possibly required by sumlib.o -- hack alert
4508-01-30 expr.c: fix <=0 type that broke substr * 1 * -- wow
4607-12-13 cp.c: fix builtin state reinitialization
4707-11-29 rev.c: honor multibyte locales
4807-11-27 cp.c: open non-existent destination with O_EXCL
4907-11-27 stty.c: add -t,--terminal-group to list tty pgrp
5007-11-27 cksum.c: --silent -s => -S, -s == -x sys5 for gnu compatibility
5107-11-11 tee.c: drop ancient bsd compatibility "-" operand => SIGINT
5207-10-29 cksum.c: add SUM_LEGACY for -r
5307-10-12 cp.c: plug usage string memory leak by using per-builtin state
5407-09-21 cksum.c: add sumprint() default scale arg, --scale, --bsd for solaris
5507-09-10 chmod.c: add --show,-n
5607-07-27 wclib.c: bias <wchar.h> checks for modern unix
5707-07-17 cat.c: fix --squeeze-blank to reduce multiple blank lines to *one*
5807-05-20 cmd.h: handle msvc's balk at if(0)0=0;
5907-05-20 cksum.c: #include <modex.h>
6007-05-11 cmd.h: add _CMD_CONTEXT_OK() to verify >= 20070511 context
6107-05-09 fds.c: handle ipv6 sockets
6207-05-09 cmd.h: <shbltin.h> : cmdquit() => sh_checksig(context)
6307-04-25 mkdir.c: force (S_ISVTX|S_ISUID|S_ISGID) after mkdir(2)
6407-04-24 procrun.c: add -last intercept => sh_run() and whence -q
6507-04-19 uname.c: name operands first checked for CS_NAME, then NAME
6607-03-28 date.c: add --unelapsed=scale, -U: fmtelapsed() => strelapsed()
6707-03-25 wclib.h: iswspace() requires <wctype.h>!
6807-03-11 tty.c: add sysV --line-number, -l
6907-02-26 Makefile: sumlib.o: direct extract from +lsum (vcodex someday)
7007-02-24 Makefile: tweak cmdext.h action for --mam bootstrap
7107-02-09 Makefile: { cmdext.h cmdlist.h } depend on *.c list!
7207-02-09 Makefile: +lsum to bring in static -lsum (no dynamic right now)
7307-02-07 cksum.c: move from src/cmd/std with ftwalk => fts
7407-02-07 getconf.c: handle /bin == /usr/bin in defer logic
7507-01-26 chmod.c: don't FTS_FOLLOW if !FTS_PHYSICAL
7607-01-23 cut.c: Cut_t variable dimension list[] must be last member
7707-01-22 uname.c: fix -h typo that clobbered astconf() state -- ouch
7807-01-02 fmt.c: fix buffer splice off by one bug -- what else
7906-11-23 cmd.h: because of proto cmdinit cannot be a function like macro
8006-11-21 cp.c: fix 06-10-31 const dot[] readonly assignment
8106-11-15 cp.c: fix 06-10-31 ln -s enoent bug
8206-11-11 getconf.c: let astconf() handle "undefined" vs. ""
8306-11-11 getconf.c: fix deferred getconf path search
8406-11-11 fmt.c: handle two char { \t \n } in --usage ouput
8506-10-31 global edit to eliminate most non-const static data0
8606-10-31 use <cmd.h> for all b_*() implementations; drop <cmdlib.h>
8706-10-31 cmd.h: add CMD_ prefix to { BUILTIN DYNAMIC STANDALONE }
8806-10-31 join.c: tone down /tmp usage vi SFSK_DISCARD
8906-10-31 cp.c,rm.c: update to <fts.h> to accomodate non-static data
9006-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict
9106-10-26 fds.c: handle sctp
9206-10-18 tail.c: fix invalid suffix infinite loop
9306-10-11 chgrp.c,cp.c: add sfstruse() error checks
9406-10-10 tee.c: add --linebuffer, -l
9506-10-06 getconf.c: preserve native getconf(1) known variable behavior
9606-10-04 sync.c: add (thanks to Roland Mainz)
9706-10-04 getconf.c: add -v specification => run native getconf(1)
9806-09-28 stty.c: static setmode() => set() for darwin.i386
9906-09-27 head.c: handle -1c => -c1
10006-09-19 pathchk.c: pathconf() => astconf()
10106-09-11 tail.c: handle compatibility corner cases
10206-09-08 date.c: add output write error diagnostic
10306-09-04 tail.c: fix initial position for -n0, no args => no -f
10406-08-28 uniq.c: add -D,--all-repeated
10506-08-25 wc.c,wclib.c: add -L,--longest-line,WC_LONGEST
10606-08-24 wc.c,wclib.c: implement -m and WC_MBYTE
10706-08-24 rmdir.c: -sp applies to every message, add gnu -e
10806-08-23 rmdir.c: add solaris --suppress, -s
10906-08-23 mkdir.c: don't add 0300 to -p final dir mode
11006-07-17 cut.c: handle last line with no newline
11106-07-17 cut.c: --output-delimiter == --line-delimiter
11206-06-25 chmod.c: mask -c output with S_IPERM
11306-05-09 uname.c: add -o; change -a to match linux
11406-05-03 date.c: add --last -L to list last of multiple time args
11506-02-14 tail.c: fix -f bug that lost fast stream data
11606-02-11 getconf.c: exit 1 if name invalid -- duh
11706-01-28 cp.c,rm.c: fix astquery() 'q' to return and not exit()
11805-08-11 fmt.c: fix -o to handle raw --usage strings
11905-05-17 cat.c,head.c: disable EPIPE error messages
12005-04-14 chgrp.c: -f means all non-syntax error messages
12105-04-11 fds.c: add from old internal open(1)
12205-04-09 cmdext.h,cmdlist.h: generate from source -- about time
12305-03-24 features/symlink: verify { lchmod lchown } implementations
12405-03-07 date.c: add --listzones to list the time zone table
12505-02-14 chmod.c: add --reference=file
12605-01-11 cat.c: restore output stream to binary mode on exit
12704-12-15 cp.c: add --preserve high resolution time support
12804-12-08 date.c: add high resolution time support
12904-12-01 cmp.c: fix %6I*ld => %6I*d -- doh
130	 fmt.c: handle "\n\n operands \n\n"
131	 head.c: handle -cN -nN, N > 4Gb
13204-11-22 cmp.c: handle >2G chars/lines
13304-11-18 fold.c: add --prepend=text, --append=text
13404-10-31 tail.c: use SF_LOCKR macro
13504-10-28 tail.c: use strtol() for old stype [+-]number[suffix] -- doh
13604-10-22 cp.c: check rename() errno==ENOENT to retain destination
13704-10-11 fmt.c: fix -o,--optget sublist bugs
138	 tail.c: use strton() for number conversion
13904-10-08 pathchk.c: add empty path and -p - first component char
14004-10-01 fmt.c: add -o,--optget concatenated usage string format
141	 stty.c: context is ERROR_INTERCATIVE
142	 rm.c: restore 3d before exit
14304-09-24 pathchk.c: fix docs
14404-09-14 date.c: add %| and %& --parse docs
14504-08-27 cp.c: add FTW_DC check -- duh
14604-08-01 fmt.c: handle last char != '\n'
14704-07-22 date.c,uname.c: access() => eaccess()
14804-07-01 fmt.c: handle large input lines -- ouch
14904-06-11 id.c: fix -r to output something!
15004-05-27 expr.c: fix `:' op subexpression output
15104-04-15 chmod.c: follow symlink for relative mode
15204-04-12 Makefile: add STDCHMOD (for osf.alpha)
15304-03-19 tail.c: handle -f sfreserve() large chunk failure
15404-02-29 cp.c: decouple -f and -i for standard CONFORMANCE
155	 cp.c: mv now attempts rename() before remove()+rename()
156	 date.c: -f format or +format disables system clock set
15704-02-14 cp.c: add -F --fsync to call fsync(2) for each copied file
15804-01-05 head.c: -s now uses opt_info.number for >2Gb skip
15903-09-18 tail.c: add --log
16003-09-11 rm.c: add --unconditional
16103-08-11 fold.c: add --delimiter=c to break at c
16203-07-28 features/time: change settimeofday() test to 2nd arg of (void*)0
163	 expr.c: add {match,substr,index,length,quote}
16403-07-15 fmt.c: fix trailing space bug
16503-06-20 uname.c: fix -p constant string overwrite
16603-06-04 stty.c: add undef to control assignment docs
16703-05-31 uname.c: add -f and sysinfo()/confstr() compatibility via astconf()
16803-05-27 rm.c: fix inappropriate "/.." append path overflow
169	 cut.c: snarf from dgk
17003-05-18 rm.c: check st_nlink to verify progress w.r.t. ftwalk/fts
17103-05-15 join.c: fix stealth -v2 bug (thanks ahs)
17203-05-04 wc.c: drop trailing space for `wc -l < file'
17303-03-21 date.c: add %Q/recent/distant/ docs
17403-02-19 date.c: fix %+|!flag docs
17502-11-14 update for cmdinit() 4th arg and ERROR_NOTIFY for interrupt cleanup
17602-10-02 date.c: tmform() => tmfmt()
17702-09-30 date.c,uname.c: change execv() calls to procrun(): exec|exit => bad
17802-09-06 wclib.c: fix 1 char-at-a-time miscount bug
17902-08-19 chgrp.c: convert to use <cdt.h>
18002-07-23 join.c: fix comm snarf typo
18102-04-05 date.c: add %u
18202-01-24 stty.c: ifdef a few more macros for uts (yes, its still running)
18301-12-14 date.c: clarify %z doc
18401-10-31 mkdir.c: mkdir() on existing dir could fail with errno!=EEXIST
185	 uname.c: add execve() loop check for unknown options
18601-10-29 tail.c: SF_SHARE on only if not reading through EOF
18701-10-11 getconf.c: fix usage typos
18801-09-11 cp.c,cmd.h: handle . in argv[0]
189	 cp.c: add O_BINARY to all open() calls
19001-09-06 tail: input streams must be SF_SHARE -- duh
19101-07-16 stty: fix cntl() macro for CC_NATIVE!=CC_ASCII
19201-05-31 date: fix /bin/date fallback logic
193	 stty: fix a few mismatched flags, -a and -g option logic
194	 stty: tone down sane to modify current settings rather than from zero
19501-05-01 uname: -i => -h, add sol.sun4 -i, add sgi -R, punt to /usr/bin/uname
19601-04-17 date,rm: add
19701-03-07 cp: fix readonly string mod on "."
19801-01-23 cp: `cp foo' => `cp foo .' only for CONFORMANCE!=standard
19900-12-01 cut: multibyte support
20000-10-31 mkdir: handle races by checking EEXIST
20100-09-20 cp: copy argv to stack before modifying in place
20200-05-18 add setlocale(LC_ALL,"")
20300-04-30 join: drop weird opt_info.argv reference
20400-03-17 expr: add == operator -- duh
205	 cp,ln,mv: delay pathcanon() on destination to verify `cp a b/.'
206	 getconf: use astgetconf for proper message control
207	 ERROR_translate: dictionary update
20800-03-08 tail: handle multiple -f files
20900-03-07 fmt: add
21000-03-07 dirname: handle PATH_LEADING_SLASHES as documented
211	 tail: accept + options
21200-02-14 chmod: --ignore-umask to ignore umask(2) in symbolic expressions
213	 chmod,chgrp,cp: use FTS_NOSEEDOTDIR for correct path construction
214	 cat: fix -n (was ignored, wow)
21500-01-27 getconf: add "-a" and "-v spec" for sol7.* compatibility
21699-09-09 join: fix -j1 vs. -j 1, add --ignorecase
21799-06-22 paste: defualt delim in writable string
21899-06-16 cat: fix --dos-ouput typo
21999-06-11 cp: tighten chown() diagnostics
22099-06-08 expr: nothing for NULL string bug fix
22199-05-21 paste: fix missing newline columnize bug
22299-05-20 mv: do not check for `mv foo foo' since rename() handles it
22399-05-01 cmp,comm,cp/mv/ln,expr,fold,getconf,head: long options
224	 join,logname,paste,pathchk,tail,tee: long options
22599-04-10 uname: long options, stdize -a
226	 chmod,head,tail,rev: long options
227	 cut: long options, pass regression test 02
22899-04-07 cat: long options, fix O_TEXT modes
22999-01-11 tail: fix +n
230	 join: another ggs/psm bug
231	 join: all 1 and/or 2 to be unseekable
23299-01-01 cp: fix -p
233	 chmod: drop -l option because of clash with l (lock) mode
23498-12-25 cat: add -T to sfopen(,,"rt")
23598-11-11 chgrp,chmod: cannot open file stream => not found
236	 join: fix another ggs/psm bug; thanks guys
23798-10-20 cp: fix cp -rp to update dir times too
23898-09-22 join: fix ggs null field bug
23998-08-11 join: fix last regression test bug
24098-05-29 join: add jp->common to handle boundary conditions
24198-03-11 cat,cp,rev,tee: fix sfmove() error checks
24298-03-01 join: fix bug that emitted records more than once after eof
243	 cp: fix sfmove() error check
24498-02-14 cp: -R physical, -[HLP], -r getconf(PATH_RESOLVE)
24598-01-11 cp: check sfclose() return value
24698-01-07 chown,chgrp,chmod: use fts for -R
247	 mkdir: fix -p default mode
24897-12-07 mkdir: fix umask() reset
24997-11-11 chown,chgrp: proper interpretation of -h,-l for lchown()
250	 chown,chgrp: only chown() if uid or gid change
25197-10-31 mkdir: do umask right
25297-08-11 cmdinit: clear opt_info.index to allow multiple calls
253	 cp,ln,mv: add
25497-07-17 join: fix a few more -a bugs
25597-05-31 expr: optget() only if CONFORMANCE==standard
25697-04-01 join: fix a few bugs that make it work!
25796-12-25 head: sfset(sfstdin,SF_SHARE,1)
258	 Makefile: add -last to cmd lib list
259	 drop function __IMPORT__
26096-08-11 tail: check for truncated file and rewind for -f
26196-04-08 update <cmd.h>
26296-02-29 uname: -a like std, -l for everything
263	 id: add -a (default)
26496-02-14 wc: speed up inner loop newline breakout
26596-01-30 unused var cleanup
26696-01-01 AT&T Research now
267	 pathchk: handle getcwd(0,0) error
268	 expr: switch to <regex.h>
26995-11-11 add expr.c
270	 fix cut exit code and -s optimization
27195-10-11 add extern b_* to cmd.h
272	 add void* context 3rd arg to b_main()
27395-05-09 add getconf
274	 cat -u avoids mmap
275	 add chown|chgrp -m uid|gid map file
276	 add chown|chgrp -P for systems with lchown(2)
277	 chown|chgrp -P => lstat() too!
278	 chmod|chown|chgrp -HLP
27995-04-01 version 1.2
280	 add rmdir
28195-02-14 fix mkdir -p symlink bug
282	 fix mkdir '/' skip bug that went one too far
283