summary refs log tree commit diff
path: root/Src/builtin.c
Commit message (Collapse)AuthorAgeFilesLines
* - Save off the raw start-time of the $SECONDS special variable if we'reWayne Davison2002-10-311-2/+8
| | | | | | creating a local value (avoids rounding problems with elapsed time). - Also changed a line where the newspecial enum was compared to 0 instead of NS_NONE.
* 17872: Fix `typeset SECONDS' when creating local parameterPeter Stephenson2002-10-291-3/+22
|
* 17868: Allow $SECONDS to become floating point.Peter Stephenson2002-10-291-9/+39
|
* 17794: fix bugs with tied parametersOliver Kiddle2002-10-101-0/+5
|
* 17692: Prevent typeset of a positional parameter before it can do damage,Bart Schaefer2002-09-191-2/+5
| | | | and improve the error message about it.
* 17678: ignore initial `--' argument to printf to satisfy POSIXOliver Kiddle2002-09-161-3/+7
|
* 17608: comment on use and abuse of BINF_SKIPINVALIDPeter Stephenson2002-09-031-1/+9
|
* 17602, 17603: Rationalise option handling, in particular for cd, pushd, popd.Peter Stephenson2002-09-031-161/+150
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-308/+418
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* 17544: implement read -s to suppress tty echoPeter Stephenson2002-08-221-3/+26
|
* 17503: fix various typos and spelling mistakes in source code commentsOliver Kiddle2002-08-051-6/+6
|
* 17497: getopts skipped over zero-length arguments.Peter Stephenson2002-08-011-0/+2
|
* Dan Nelson: 17492: Quote output from xtracePeter Stephenson2002-08-011-4/+8
|
* 17485?: Incorrect test for TYPESET_SILENTPeter Stephenson2002-07-291-1/+1
|
* 17334: TYPESET_SILENT shell option and typeset -p optionPeter Stephenson2002-06-201-21/+38
|
* 17299: Use reference counts in Eprogs so as to be able to free them as soonPeter Stephenson2002-06-071-0/+1
| | | | as finished with.
* 17292: shut up compiler if no OPEN_MEMSTREAMPeter Stephenson2002-06-051-1/+4
|
* Got rid of unused-variable compiler warning.Wayne Davison2002-03-241-2/+2
|
* 16862: allow print's -s and -z options to be used with -fOliver Kiddle2002-03-191-59/+99
|
* 16759: Src/builtin.c: from Eric Norum <eric.norum@usask.ca>:Peter Stephenson2002-03-041-5/+7
| | | | | | cd prints output whenever the target directory is not obvious to the user. This confuses scripts, so restrict it to interactive mode.
* Improved the output of the "history" command with a 1-line history buffer,Wayne Davison2002-02-221-10/+15
| | | | | and also improved the error handling of explicitly-specified first/last values.
* 16619, 16676: add -c, -l and -p options to the dirs builtinOliver Kiddle2002-02-201-21/+28
|
* Silenced a compiler warning.Wayne Davison2002-02-121-1/+1
|
* 16556: No error on `print >&-'.Bart Schaefer2002-02-041-10/+17
|
* 16503: warn on fclose or fflush errors in bin_print.Clint Adams2002-01-271-76/+84
|
* 16435: Fix core dump in `hash'.Bart Schaefer2002-01-261-1/+1
|
* unposted: back out idiotic patchClint Adams2001-12-181-1/+1
|
* unposted: initialize save to NULL to avoid compiler warning.Clint Adams2001-12-181-1/+1
|
* 16228: allow widths and precisions to work with printf's %b format specifierOliver Kiddle2001-11-091-19/+27
|
* zero %n value when reusing printf format (16122)Oliver Kiddle2001-10-231-1/+2
|
* allow arguments to be specified in printf format specifications (16080)Oliver Kiddle2001-10-181-37/+97
|
* fix return code and tests of printf and comment above bslashquote func (16064)Oliver Kiddle2001-10-161-2/+12
|
* use arithmetic evaluation for numeric arguments to printf (16042)Oliver Kiddle2001-10-151-52/+77
|
* add print -f option, %n format specifier and tests for print/printf (15973)Oliver Kiddle2001-10-081-81/+90
|
* 15931: EXIT traps from exit in subshell; 15965: glob -> zglobPeter Stephenson2001-10-081-1/+5
|
* add printf builtin (15851, 15948)Oliver Kiddle2001-10-051-0/+174
|
* * Src/builtin.c, Src/exec.c: Unwind function calls before exitingPeter Stephenson2001-09-241-9/+29
| | | | shell from exit command to allow EXIT traps to run.
* Further modify the "fc -l" code to tolerate out-of range values.Wayne Davison2001-09-181-9/+6
|
* + Changed fclist() to not not transform "fc -l 0 0" into "fc -l 1 1".Wayne Davison2001-09-131-3/+3
| | | | + Changed fcgetcomm() to handle new error return from addhistnum().
* Fix and regression tests for crash on typeset of local array elements.Bart Schaefer2001-08-131-2/+17
|
* 15334: use string "(eval)" as script name in debugging messages in eval'sPeter Stephenson2001-07-091-0/+6
|
* 15327: always use local LINENOs in parse_string().Peter Stephenson2001-07-091-2/+2
|
* Fix infinite loop on `r OLD=NEW' when OLD is the empty string.Bart Schaefer2001-07-081-0/+4
|
* $* and $@ are specialPeter Stephenson2001-06-141-1/+8
|
* 14348: fix globalexport with typeset -gPeter Stephenson2001-05-151-1/+1
|
* More parameter/subscript cleanup.Bart Schaefer2001-04-211-3/+32
|
* Parameter repairs, mostly for subscripting.Bart Schaefer2001-04-201-11/+6
|
* disallow changing of parameter typePeter Stephenson2001-03-291-4/+10
| | | | for autoloadable parameter (bug 219459 on Sourceforge).
* 13478: whence shouldn't segfault on an empty path componentClint Adams2001-02-141-4/+4
|
* 13389: normalize path in cd_do_chdir on Cygwin to get rid of DOS namesAndrey Borzenkov2001-01-261-6/+23
|