summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2015-06-03better description of internal copyn() functionTheo de Raadt
2015-05-18Make TAPE=- mean stdout in tarczarkoff
Some scripts and GUI ssh clients assume that tar writes to standard output by default. This changes allows enforcing such behavior by setting TAPE="-" in user profile. Also, this makes parsing argument to "-f" option and contents of TAPE environment variable consistent. OK guenther@, jmc@ and sthen@
2015-05-07Whoops; missed updating a setfile() call.Philip Guenther
problem reported dcoppa; ok millert@
2015-05-04lightly document the posix option and POSIXLY_CORRECT; will sketch outJason McIntyre
in more detail once i get my head round them...
2015-05-03Preserve times to nanosecond precision instead of just microsecond.Philip Guenther
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@
2015-05-03struct usave is unused, and eproc is gone; delete the former andPhilip Guenther
stop referencing them in comments
2015-04-30reapply the rules of english to the option keywords: i was persuaded to undo itJason McIntyre
because the option names are case sensitive, but it just looks awful. so expect just a little more from the reader...
2015-04-24improve wording.Igor Sobrado
ok jmc@
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-04-17Use getint() instead of intval() for parsing the columns variable,Theo de Raadt
allowing the addition of more accurate bounds and garbage checks. ok millert
2015-04-17FALLTHROUGH in getopt is incorrect. While here use strtonumTheo de Raadt
to parse tz_minuteswest. ok millert
2015-04-09kflag and wflag don't need to be counters; wflag only needs to know ifOkan Demirmen
greater than 0 for its one test case. ok deraadt
2015-03-31both rpe and zhuk pointed out some problems with my if/elf template.Jason McIntyre
zhuk suggested using "condition" rather than command, and this commit reworks the loop/conditional section to do that; ok zhuk rpe
2015-03-30on zhuk's advice, don;t talk about null: posix uses null and emptyJason McIntyre
interchangeably, but we've stuck with empty; while here, sneak in an otherwsie -> otherwise
2015-03-27clarity fix from zhuk;Jason McIntyre
2015-03-26a little wording tweak;Jason McIntyre
2015-03-26various fixes from rpe;Jason McIntyre
2015-03-26from zhuk: in the for loop, show "in word ..." as optional;Jason McIntyre
2015-03-26from zhuk: sequential and asynchronous lists may take only one item;Jason McIntyre
2015-03-26rework the section on when different types of command are processed;Jason McIntyre
zhuk pointed out the flaws in my original text, and has found many more since;
2015-03-25Bind the Delete key (ESC[3~) to delete-char-forwardJeremie Courreges-Anglas
ok mpi@
2015-03-22rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.Philip Guenther
Adjust the conditions to correct that. ok millert@
2015-03-19Fix IFS description. May be polished further when all consequences ofVadim Zhukov
following "null is the same as empty" from POSIX are investigated. okay jmc@
2015-03-19Make it clear that it's the line who shouldn't be empty, and not theVadim Zhukov
command history. This version comes from jmc@ together with his okay.
2015-03-19Use struct timespec internally. This gives nanosecond precision to pax -rwPhilip Guenther
and a basis for support of mtime and atime values in pax-format extended header records. ok millert@
2015-03-18remove ambiguity from the COMMANDS section, after discussion with zhuk;Jason McIntyre
2015-03-18from zhuk: a little more info on <>Jason McIntyre
2015-03-18improve the description of here documents; prompted by zhukJason McIntyre
2015-03-18rework the redirection text after some feedback from zhuk;Jason McIntyre
2015-03-18not necessary to work around an apparent bug on ancient freebsdTed Unangst
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-17revert a previous word change - the original seems more accurate;Jason McIntyre
2015-03-17Escape certain characters for slightly more correct (and prettier) output.Anthony J. Bentley
ok jmc@
2015-03-17from zhuk: provide some SxJason McIntyre
2015-03-17from zhuk: shell does not wait for command to complete if job run in backgroundJason McIntyre
2015-03-17Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsPhilip Guenther
ok millert@
2015-03-16from zhuk: be clear that "#" is a variableJason McIntyre
2015-03-15from zhuk: two grammar fixes;Jason McIntyre
2015-03-15from zhuk: clarify "set --";Jason McIntyre
2015-03-15Define chdname once in a .c and make it extern in the .hPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
pax-like -o write_opt=nodir. ok millert@ otto@
2015-03-15from zhuk: remove ambiguity around the false/true description;Jason McIntyre
2015-03-15from zhuk: paths not beginning dot (as well as slash) use CDPATH;Jason McIntyre
2015-03-15from zhuk: remove ambiguity in the description of "continue";Jason McIntyre
2015-03-15from zhuk: the dash part of "cd -" is not a flag, so don;t show it as such;Jason McIntyre
posix actually uses a separate synopsis to show this form, but i've chosen to show it as a special form of "dir";
2015-03-15Using O_TRUNC with O_CREAT|O_EXCL is just confusing: fail if it exists,Philip Guenther
but if you *did* succeed anyway, truncate it?
2015-03-15pax -o only accepts 'write_opt=nodir' and not bare 'nodir'Philip Guenther
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
2015-03-14from zhuk: be clearer about not all options having long name equivalents andJason McIntyre
lowercase the first letter of these names since that is the form accepted;
2015-03-14rewrite of sh(1). this page tries to confine itself to document featuresJason McIntyre
supported by posix compliant shells (obviously ksh(1) still documents the works). still needs work, so please do mail me diffs or feedback;