summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2005-05-25add missing detail from IFS exampleJared Yanovich
From PR4220/TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
2005-05-24-ansi considered harmful, even in commentsTodd C. Miller
2005-05-24-ansi means only expose ANSI interfaces which is not something we want...Todd C. Miller
2005-05-24variety of man page fixesJared Yanovich
- add non-legacy synopsis (and sync usage) - sort options - refer to synopsis arguments consistently - rearrange examples - mdoc tweaks - mention glob patterns for -t and -x ok jmc, otto
2005-05-13some Xr's from jason ackley;Jason McIntyre
2005-05-12.Xr script 7Jason McIntyre
2005-05-03some snprintf() -> strlcpy to improve readibility (and speed?)Nikolay Sturm
from rohee@, ok millert@ before 3.7
2005-05-02tweaks;Jason McIntyre
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).Theo de Raadt
this uses the MTRETEN option split out getopt options for mt & eject, fix usage as well. ok krw (who is about to commit the back end changes for scsi..)
2005-04-28Use a special crafted string copy function to copy data from ustarOtto Moerbeek
headers to the generic pax structs. ustar is "funny" since some fields are not always NUL terminated. Old-style tar headers and ustar creation remains to be done. ok millert@ beck@
2005-04-26- do not list -f option for eject, as it is not necessaryJason McIntyre
- tidy up the options list somewhat to avoid confusion - sync usage() started by a diff from tom@ and ok'd by him;
2005-04-25Use the various f* functions to set owner, mode and times, insteadOtto Moerbeek
of operating on the path name. Avoids some races. ok deraadt@ cloder@ millert@
2005-04-23-c option may take either integer or name, not just integer;Jason McIntyre
diff from ray; ok sturm@
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
potential non-spec compliance - the use of these fields as strings needs to be revisited more thouroughly. ok millert@ otto@
2005-04-15check snprintf return value and abort if the concatenated path is tooUwe Stuehler
long instead of using the truncated path. also, use the strerror() database instead of repeating the text here. ok krw@, millert@
2005-04-14add the prefix length to nlen for ustar; ok otto millertMarkus Friedl
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-04-10Handle path names of exactly 100 chars correctly. Based on a diffOtto Moerbeek
from espie@. ok espie@ deraadt@
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
argument "resolved", since it is undefined. ok and help millert, otto
2005-04-08Correct comment about using m in blocksize (multiplies by 1048576 not 512).Jonathan Gray
2005-04-05change incorrect filename in output on fstat() failureJared Yanovich
from Cedric Berger <cedric@berger.to> ok otto
2005-03-31copy argv[] element instead of smashing the one that ps will see; ok ottoTheo de Raadt
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
double checked to make sure no binaries change, and eyed by niallo
2005-03-28spacingTheo de Raadt
2005-03-28if argv[0] not set, do not set it to "pdksh", but to "ksh"Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-03-24- sort optionsJason McIntyre
- sync usage() - remove unnecessary quoting
2005-03-16chown(8): mention that this utility clears setuid/setgid bits by default;Jason McIntyre
from stuart henderson (pr #4149); chown(2)/chown(8): mention that sysctl variable fs.posix.setuid=0 overrides this behaviour; from millert and otto; ok deraadt@ otto@ millert@
2005-03-13Use pid_t where appropriate. From Bruno Rohee (thanks).Chad Loder
2005-03-10wrap bind() to AF_UNIX with umask() to avoid raceTheo de Raadt
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2005-03-07more macro simplification;Jason McIntyre
2005-03-07use .Pq rather than .Po/.Pc;Jason McIntyre
2005-03-04document that $HOME is shown as `~' for PS1 \w substitutions;Jason McIntyre
diff from niall o'higgins, pr 4132 (slightly reworded); ok otto@
2005-02-25no more Strncpy or Strncat, everTheo de Raadt
2005-02-25spacingTheo de Raadt
2005-02-25knfTheo de Raadt
2005-02-25avoid specifying which hash to use;Jason McIntyre
this after some discussion w/ otto; started by pr #4120, from andy isaacson;
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
which might be very inconvenient when the yp server is not available. ok deraadt@ millert@
2005-02-20Better handling of large filesystems, okay henning@ and millert@, withPedro Martelletto
input from martin@ and miod@.
2005-02-18sort options to echo builtin;Jason McIntyre
2005-02-17Printt ^D and newline on EOF in emacs mode like in vi mode.Otto Moerbeek
Help and ok jaredy@ ok millert@
2005-02-16a note about why we have both EDITOR and VISUAL env vars;Jason McIntyre
ok otto@ jaredy@
2005-02-16document that `emacs' is the default editing mode, and that as wellJason McIntyre
as being set explicitly w/ `set', modes can also be set using EDITOR and VISUAL; ok jaredy@ otto@
2005-02-08- rearrange EXAMPLESJared Yanovich
- move env var stuff to ENVIRONMENT - clarify "status" description - sort & simplify commands ok jmc
2005-02-08oops, missed a prompt;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-08Move sh.1tbl -> sh.1 and ksh.1tbl -> ksh.1Todd C. Miller
2005-02-05note that symlinks in test file are followed, except -h and -LJason McIntyre
(just like test(1) does); from paul de weerd;