summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2001-08-13Typo in comments: 'interuptable' => 'interruptible'Heikki Korpela
millert@ ok
2001-08-13Document how to remove or rename a file that is a getopt(3) flagHeikki Korpela
to mv(1) or rm(1) by preceding it with --. From ho@: Also give a sample of the ./-f way that is more portable ok millert@, ho@
2001-08-10Address PR 1993. This rewording has been deemed satisfactory by theHugh Graham
submitter's reportedly pedantic boss.
2001-08-09Actually use the statf function pointer which I missed while hand-patching.Todd C. Miller
Also, don't mention the -h and -n flags for the 2nd usage line since they are no-ops in that case.
2001-08-09Add -h flag to prevent following a symlink to a dir as the dest.Todd C. Miller
Also add -n as an alias for -h for compat with GNU ln. Patch from Phil.Pennock@globnix.org with minor changes by me.
2001-08-07Modify timekeeping in an effort to produce a sane bandwidth measureHugh Graham
for a short running dd process. Some floating point is used so that microsecond precision can be kept without shortening the off_t excessively. millert says ok.
2001-08-03Typo; heko@iki.fiAaron Campbell
2001-08-02pet peeve, insure vs ensureHugh Graham
insure is to indemnify against some contingency ensure is to make sure
2001-07-31Documentation fixes per PR 1979 by Kaspar Toomik.Hugh Graham
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Rs/.Re; o) .Nm without argument in SYNOPSIS;
2001-07-19Back out last change, it caused problems with exit vals.Todd C. Miller
2001-07-17Add a safe_print() function that uses vis(3) if output is a tty.Todd C. Miller
Uses the vis C-style mode which is consistent with what GNU tar does (though GNU tar does vis(3) regardless of whether output is a tty). It may make sense to add a flag to force vis(3)ification like ls does but I have not done that here as I'm reticent to add more flags.
2001-07-17make file-completion work with ~ (tilde)Camiel Dobbelaar
tested by provos@ and me
2001-07-09Compute %used in -P mode as a double, just like we do in normal printingTodd C. Miller
mode. Fixes an int wraparound problem noted by mike@erdelynet.com
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09-WallTheo de Raadt
2001-07-05Fix length type.Marc Espie
2001-07-05Fix prototypesMarc Espie
2001-07-04Eat backslashes in regex's so things like:Todd C. Miller
-s '/\/bin\/cat/\/bin\/dog/' work. This means we have to be a bit more clever in finding the pattern delimeters (ie: not strchr).
2001-07-04Fix -s option, which never worked. We need to pass in the input stringTodd C. Miller
to resub() so we can copy the non-matching portion of the string to the destination. Closes PR #1889
2001-07-03Merge in pdksh-5.2.14-patches.2 to fix some problems with propagatedTodd C. Miller
return values in multi-command lines.
2001-06-27UVM is no longer an optionArtur Grabowski
2001-06-26really use strlcpy.lebel
2001-06-26really use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-25unsmoke drugs.Artur Grabowski
2001-06-25had not noticed the atexit() handler; pointed out by dima@unixfreak.org; ↵Theo de Raadt
also use writev to increase atomicity
2001-06-25fix obvious warnings.Artur Grabowski
2001-06-25explicit braces to avoid ambiguous elseArtur Grabowski
2001-06-25implement 'stty ek' as documented; dima@unixfreak.orgTodd C. Miller
2001-06-23more .%A handling; bk@rt.fmTheo de Raadt
2001-06-23ok, tmac is now fixedTheo de Raadt
2001-06-23join .%A entries; most by bk@rt.fmTheo de Raadt
2001-06-22exit() from a signal handler is a sinTheo de Raadt
2001-06-22do not exit() from signal handlerTheo de Raadt
2001-06-22Avoid printing warnings about things like "is a directory" twice.Todd C. Miller
Found by fgs.
2001-06-22mark signal races, and remove junkTheo de Raadt
2001-06-13exit(errs) -> exit(errs!=0); sync with scp.c, ok deraadt@Markus Friedl
2001-06-13va_start/end for every call to vfprintf and friends, from scp.cMarkus Friedl
2001-06-08Correct STANDARDS section wrt removing directories; from FreeBSDTodd C. Miller
2001-06-08Don't give usage warning for 'rm -f' with no files to remove to beTodd C. Miller
consistent with other implementations.
2001-06-06In -p mode, set directory times in post-order pass since otherwise theTodd C. Miller
times get squashed when we add files to the dir. Problem found by Christophe.Deroulers@ens.fr, fix by me.
2001-06-03Nope, that's not right either. Fix check for mutually exclusive args.Todd C. Miller
2001-06-03sync man page with new usage restrictionsTodd C. Miller
2001-06-03Obvious thinko: command line is wrong if it's too short, not too long.Marc Espie
2001-06-03Use kern.nprocsAngelos D. Keromytis
2001-06-03Use sysctl to get process information, if kvm has not been initializedAngelos D. Keromytis
(which is still not the case).
2001-06-03Style.Angelos D. Keromytis