aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Reduce diffs to current. Spelling fixes.Tom Rhodes2003-03-032-2/+2
| | | | | | | | Approved by: re (blanket) Noticed by: keramida Notes: svn path=/stable/4/; revision=111839
* MFC: mdoc(7) `laundry'.Tom Rhodes2003-02-242-36/+24
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/4/; revision=111403
* MFC: 1.29: [sync with current]Giorgos Keramidas2003-02-231-5/+5
| | | | | | | | | Make the "tarcp" example more direct. Approved by: re (murray) Notes: svn path=/stable/4/; revision=111329
* MFC: 1.59: [reduce diffs with current]Giorgos Keramidas2003-02-231-0/+5
| | | | | | | | | | Add an example to help one manually set the date on one machine taking the out put from another. Approved by: re [murray] Notes: svn path=/stable/4/; revision=111327
* MFC: 1.35: [sync with current]Giorgos Keramidas2003-02-231-14/+17
| | | | | | | | | Reorder options to match style(9), document the -f and fix spacing a bit. Approved by: re (murray) Notes: svn path=/stable/4/; revision=111325
* MFC rev. 1.60: When job control is disabled, never show the job id whenTim J. Robbins2003-02-141-1/+2
| | | | | | | | reporting the status of a background process that has terminated because of a signal. Notes: svn path=/stable/4/; revision=110867
* MFC 1.84: improved formattingTony Finch2003-02-131-0/+2
| | | | Notes: svn path=/stable/4/; revision=110815
* Remove an unused doc Makefile.Tom Rhodes2003-02-051-8/+0
| | | | Notes: svn path=/stable/4/; revision=110358
* MFC: Revision 1.27Tom Rhodes2003-02-041-0/+1
| | | | Notes: svn path=/stable/4/; revision=110353
* MFC: 1.25: Sync to -current, s/filesystem/file system/Giorgos Keramidas2003-02-041-2/+2
| | | | Notes: svn path=/stable/4/; revision=110310
* MFC rev. 1.62: Ensure that the TTY file descriptor is greater than orTim J. Robbins2003-02-041-1/+14
| | | | | | | | | equal to 10 so that it doesn't interfere with the user's redirections. PR: 47136 Notes: svn path=/stable/4/; revision=110306
* MFC: 1.11 Use '\033' rather than '\e' as the latter is a gccism.David Malone2003-01-311-1/+1
| | | | | | | | PR: 46015 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> Notes: svn path=/stable/4/; revision=110136
* Sync with CURRENT.Tom Rhodes2003-01-271-16/+16
| | | | Notes: svn path=/stable/4/; revision=109941
* Revert parts of 1.17.2.10. The -v flag doesn't have special behaviorGiorgos Keramidas2003-01-241-4/+0
| | | | | | | when specified multiple times in RELENG_4 (yet). Notes: svn path=/stable/4/; revision=109786
* Reduce diffs to currentGiorgos Keramidas2003-01-241-11/+9
| | | | | | | | | MFC: 1.18: Add History section. sleep appeared in v4. MFC: 1.19: Sort sections, use Ex macro in diagnostics section, note that the first example works only with csh. Notes: svn path=/stable/4/; revision=109785
* MFC: 1.11: Capitalise ASCII code names.Giorgos Keramidas2003-01-241-1/+3
| | | | Notes: svn path=/stable/4/; revision=109783
* MFC: mdoc fixes to reduce diffs from currentGiorgos Keramidas2003-01-241-2/+2
| | | | | | | | rev 1.83: deal with self-xrefs. rev 1.82: markup nit. Notes: svn path=/stable/4/; revision=109782
* MFC 1.23: mdoc(7) fixes, bump document date on behalf of the -n option.Giorgos Keramidas2003-01-241-8/+8
| | | | Notes: svn path=/stable/4/; revision=109781
* MFC: parts of 1.72: use .Tn ANSI instead of \*[Ai], reducing diffs to current.Giorgos Keramidas2003-01-241-2/+2
| | | | Notes: svn path=/stable/4/; revision=109780
* MFC: 1.21: Revert to using the .Tn POSIX instead of \*[Px].Giorgos Keramidas2003-01-241-1/+1
| | | | Notes: svn path=/stable/4/; revision=109779
* MFC: 1.22: Typo fix, s/a/an/Giorgos Keramidas2003-01-241-1/+1
| | | | Notes: svn path=/stable/4/; revision=109778
* MFC: 1.11: typo fix in article, s/an/a/Giorgos Keramidas2003-01-241-1/+1
| | | | Notes: svn path=/stable/4/; revision=109777
* MFC: 1.7: reduce diffs to current, whitespace only changes.Giorgos Keramidas2003-01-241-239/+239
| | | | Notes: svn path=/stable/4/; revision=109776
* MFC: 1.7: s/an different/a different/Giorgos Keramidas2003-01-241-1/+1
| | | | Notes: svn path=/stable/4/; revision=109774
* MFC revs. 1.39 and 1.41: Do not strip CTL* escapes from redirectionTim J. Robbins2003-01-171-5/+5
| | | | | | | | | filenames in argstr(), exptilde(), expari(), expbackq() and evalvar(). Fixes a memory corruption bug and the inability to access files with certain characters in their names via shell redirection. Notes: svn path=/stable/4/; revision=109406
* MFC: The code uses trapsasync, however the manual page uses asynctraps. FixTom Rhodes2002-12-171-1/+1
| | | | | | | | | | | the manual page to reflect the code. PR: 45820 Submitted by: Marco Molteni <molter@tin.it> Discussed with: tjr Notes: svn path=/stable/4/; revision=107998
* MFC 1.80: Document `trap EXIT` and `trap SIGNAME`.Tony Finch2002-12-171-1/+4
| | | | Notes: svn path=/stable/4/; revision=107976
* MFC rev 1.76: Do not print a header line if it would be empty.Tim J. Robbins2002-11-301-0/+9
| | | | Notes: svn path=/stable/4/; revision=107409
* MFC rev 1.11: Avoid accidentally making "-h" a synonym for "fc".Tim J. Robbins2002-11-301-1/+1
| | | | Notes: svn path=/stable/4/; revision=107407
* MFC: Print non-printing characters in directory names, as well as file names,Tim J. Robbins2002-11-173-5/+9
| | | | | | | | | as `?' or `\ooo', depending on whether the -b or -B flags were used. PR: 43995 Notes: svn path=/stable/4/; revision=107004
* MFC 1.58: hours go 0-23 not 1-12Tony Finch2002-11-081-1/+1
| | | | Notes: svn path=/stable/4/; revision=106672
* MFC: 1.21 peter: Initialize listf in main.Warner Losh2002-11-071-1/+2
| | | | Notes: svn path=/stable/4/; revision=106551
* MFC: revisions 1.45 and 1.46: allow empty case/esac statements, allowTim J. Robbins2002-10-181-2/+4
| | | | | | | | | left parenthesis before pattern in case blocks. PR: 43275 35879 Notes: svn path=/stable/4/; revision=105391
* MFC: -h documentationTom Rhodes2002-10-181-1/+1
| | | | | | | | | PR: 41926 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Reviewed by: bde ru jhb Notes: svn path=/stable/4/; revision=105372
* MFC: r1.21:Tom Rhodes2002-10-181-7/+17
| | | | | | | | | | | | | Change noop option -h to do the real work. Now mode of symbolic link is changed if -h option is given. Requested by: johan Reviewed by: bde jhb ru (original commit) Obtained from: NetBSD (code) Notes: svn path=/stable/4/; revision=105371
* MFC keyword.c rev1.56, print a list of valid formats when no valid formatsJuli Mallett2002-10-101-2/+5
| | | | | | | are given. Notes: svn path=/stable/4/; revision=104822
* Use correct document date.Johan Karlsson2002-10-101-1/+1
| | | | | | | | | PR: 42757 Submitted by: Marc Falesse <marc.falesse@libertysurf.fr> Approved by: sheldonh (mentor) Notes: svn path=/stable/4/; revision=104800
* MFC(1.42): cp -p could report success even if a file copy failed. Worst caseStephen McKay2002-09-241-3/+4
| | | | | | | | | | this could cause mv(1) to delete files during a failed cross-device move. PR: 42789 Approved by: jhb (re) Notes: svn path=/stable/4/; revision=103893
* Back out recent commit. Incorrect impression that 'h' was alreadyTom Rhodes2002-09-182-3/+3
| | | | | | | | | | MFC'ed, but it was not. Discussed with: bde, johan, ru, jhb Approved by: re (jhb) Notes: svn path=/stable/4/; revision=103573
* MFC: 'h' missing in getopt() callTom Rhodes2002-09-172-3/+3
| | | | | | | | | | PR: 41926 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Reviewed by: johan, bde, jhb Approved by: re (jhb) Notes: svn path=/stable/4/; revision=103511
* MFC rev 1.58: Correctly set the close-on-exec bit on the tty file descriptorTim J. Robbins2002-09-141-1/+1
| | | | | | | | | to avoid leaking it to child processes. Approved by: re (jhb) Notes: svn path=/stable/4/; revision=103310
* MFC rev. 1.51:Maxim Konovalov2002-09-101-35/+34
| | | | | | | | | | | | o backout rev. 1.40 (rev. 1.29.2.4 in RELENG_4), o add argv[] boundary check. Note rev. 1.49 has been never MFCed so there is no need to backout it. Approved by: re (jhb) Notes: svn path=/stable/4/; revision=103175
* MFC:Tim J. Robbins2002-08-2719-315/+190
| | | | | | | | | | | | | | | | | | - Avoid duplicate error messages when invalid options are used with the cd, pwd, fc, and export builtins. - Handle window size changes when line editing is enabled. - Don't access memory after it is free()'d, fixing strange job control problems when the J (junk) malloc() option was enabled. - Read libedit options from ~/.editrc if present. - Change the `command' builtin to be what POSIX.2 requires, create a `builtin' command to execute builtin commands. - Add a `bind' builtin command to modify key bindings. - Store process ID's in pid_t's instead of short's. - Removed unused #ifdef'd code. - -P (-o physical) option to make -P the default for the cd and pwd builtins Notes: svn path=/stable/4/; revision=102467
* MFC: 1.77 s/builtin/built-in/ and 1.78 s/filesystem/file system/Jens Schweikhardt2002-08-241-36/+36
| | | | Notes: svn path=/stable/4/; revision=102361
* MFC: Claim conformance to 1003.2-1992 instead of 1003.1-2001 due to doubtsTim J. Robbins2002-08-191-1/+1
| | | | | | | | | raised over symbolic link handling. PR: 41576 Notes: svn path=/stable/4/; revision=102092
* MFC: Add the -n option, which automatically answers "no" to the overwriteJohan Karlsson2002-08-192-11/+34
| | | | | | | | | | | question. mv.1: 1.19, 1.20, 1.22, part of 1.23 mv.c: 1.35, 1.39 Approved by: obrien, sheldonh (mentor) Notes: svn path=/stable/4/; revision=102079
* MFC: Allow redirections by themselves between "&&" and "||" operators.Tim J. Robbins2002-08-171-3/+2
| | | | Notes: svn path=/stable/4/; revision=102005
* MFC: IPv6 support for rcp.Hajimu UMEMOTO2002-08-162-22/+42
| | | | | | | | | | You cannot specify a raw IPv6 address for now. bin/rcp/rcp.1: 1.15 bin/rcp/rcp.c: 1.35 Notes: svn path=/stable/4/; revision=101997
* MFC: Several mdoc(7) fixes including spelling, markup, punctuation, andTom Rhodes2002-08-163-20/+25
| | | | | | | | | .Nm utility. While I'm here MFC: 1.13: Correct History, applied by tjr Notes: svn path=/stable/4/; revision=101962
* MFC: fix assorted typos.Jens Schweikhardt2002-08-151-1/+1
| | | | Notes: svn path=/stable/4/; revision=101935