Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-31 | both 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-30 | on zhuk's advice, don;t talk about null: posix uses null and empty | Jason McIntyre | |
interchangeably, but we've stuck with empty; while here, sneak in an otherwsie -> otherwise | |||
2015-03-27 | clarity fix from zhuk; | Jason McIntyre | |
2015-03-26 | a little wording tweak; | Jason McIntyre | |
2015-03-26 | various fixes from rpe; | Jason McIntyre | |
2015-03-26 | from zhuk: in the for loop, show "in word ..." as optional; | Jason McIntyre | |
2015-03-26 | from zhuk: sequential and asynchronous lists may take only one item; | Jason McIntyre | |
2015-03-26 | rework 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-25 | Bind the Delete key (ESC[3~) to delete-char-forward | Jeremie Courreges-Anglas | |
ok mpi@ | |||
2015-03-22 | rev 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-19 | Fix IFS description. May be polished further when all consequences of | Vadim Zhukov | |
following "null is the same as empty" from POSIX are investigated. okay jmc@ | |||
2015-03-19 | Make it clear that it's the line who shouldn't be empty, and not the | Vadim Zhukov | |
command history. This version comes from jmc@ together with his okay. | |||
2015-03-19 | Use struct timespec internally. This gives nanosecond precision to pax -rw | Philip Guenther | |
and a basis for support of mtime and atime values in pax-format extended header records. ok millert@ | |||
2015-03-18 | remove ambiguity from the COMMANDS section, after discussion with zhuk; | Jason McIntyre | |
2015-03-18 | from zhuk: a little more info on <> | Jason McIntyre | |
2015-03-18 | improve the description of here documents; prompted by zhuk | Jason McIntyre | |
2015-03-18 | rework the redirection text after some feedback from zhuk; | Jason McIntyre | |
2015-03-18 | not necessary to work around an apparent bug on ancient freebsd | Ted Unangst | |
2015-03-17 | Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@ | Todd C. Miller | |
2015-03-17 | revert a previous word change - the original seems more accurate; | Jason McIntyre | |
2015-03-17 | Escape certain characters for slightly more correct (and prettier) output. | Anthony J. Bentley | |
ok jmc@ | |||
2015-03-17 | from zhuk: provide some Sx | Jason McIntyre | |
2015-03-17 | from zhuk: shell does not wait for command to complete if job run in background | Jason McIntyre | |
2015-03-17 | Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type tests | Philip Guenther | |
ok millert@ | |||
2015-03-16 | from zhuk: be clear that "#" is a variable | Jason McIntyre | |
2015-03-15 | from zhuk: two grammar fixes; | Jason McIntyre | |
2015-03-15 | from zhuk: clarify "set --"; | Jason McIntyre | |
2015-03-15 | Define chdname once in a .c and make it extern in the .h | Philip Guenther | |
2015-03-15 | Handle tar -o by setting the tar_nodir directly instead of faking up a | Philip Guenther | |
pax-like -o write_opt=nodir. ok millert@ otto@ | |||
2015-03-15 | from zhuk: remove ambiguity around the false/true description; | Jason McIntyre | |
2015-03-15 | from zhuk: paths not beginning dot (as well as slash) use CDPATH; | Jason McIntyre | |
2015-03-15 | from zhuk: remove ambiguity in the description of "continue"; | Jason McIntyre | |
2015-03-15 | from 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-15 | Using 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-15 | pax -o only accepts 'write_opt=nodir' and not bare 'nodir' | Philip Guenther | |
2015-03-15 | tzfile.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-14 | from zhuk: be clearer about not all options having long name equivalents and | Jason McIntyre | |
lowercase the first letter of these names since that is the form accepted; | |||
2015-03-14 | rewrite of sh(1). this page tries to confine itself to document features | Jason McIntyre | |
supported by posix compliant shells (obviously ksh(1) still documents the works). still needs work, so please do mail me diffs or feedback; | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2015-03-12 | Escape ! characters for tab-completion, required for "set -o csh-history" users. | Stuart Henderson | |
Tweak to maintain ascii ordering suggested by Simon Nicolussi. OK halex@ | |||
2015-03-12 | If an archive isn't a recognized type, then check whether it looks | Philip Guenther | |
like compress, gzip, bzip2, or xz output. If so then error out with a useful message directing the user to the correct option and error out instead of scanning forward for an embedded tar/cpio header. wording help from sobrado@ ok millert@ deraadt@ | |||
2015-03-09 | Fix comment grammar | Philip Guenther | |
2015-03-09 | Unrevert post-unlock: | Philip Guenther | |
* Prevent an archive from esacaping the current directory by itself: when extracting a symlink whose value is absolute or contains ".." components, just create a zero-length normal file (with additional tracking of the mode and hardlinks to the symlink) until everything else is extracted, then go back and replace it with the requested link (if it's still that zero-length placeholder). * For tar without -P, if a path in the archive has any ".." components then strip everything up to and including the last of them (if it ends in ".." then it becomes ".") This mostly follows GNU tar's behavior, except for 'tar tf' and 'tar xvf' we report the modified path that would be/was actually created instead of the raw path from the archive Above two fixes prompted by a report from Daniel Cegielka (daniel.cegielka (at) gmail.com) * For directories whose times or mode will be fixed up in the clean-up pass, record their dev+ino and then use open(O_DIRECTORY)+fstat() to verify that we're updating the correct directory before using futimens() and fchmod(). * Correct buffer overflow in handling of pax extension headers, caught by the memcpy() overlap check. previously ok millert@ deraadt@ | |||
2015-03-01 | Avoid SIGFPE when parsing an invalid ext2fs through a raw device operation. | Tobias Stoeckmann | |
ok millert | |||
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@ | |||
2015-02-21 | Recent changes haven't been completely stable, so revert for the 5.7 release | Philip Guenther | |
requested by deraadt@ | |||
2015-02-16 | bcmp to memcmp | Ted Unangst | |
2015-02-15 | Fix two bugs. The first affected tar files with the same | Todd C. Miller | |
directory listed twice with nothing created inside the directory in between the two instances of the directory. The other fixes extracting symlinks when the -C option is used. From guenther@ OK krw@ | |||
2015-02-15 | -a is documented | Ted Unangst | |
2015-02-12 | Prevent an archive from esacaping the current directory by itself: | Philip Guenther | |
when extracting a symlink whose value is absolute or contains ".." components, just create a zero-length normal file (with additional tracking of the mode and hardlinks to the symlink) until everything else is extracted, then go back and replace it with the requested link (if its still that zero-length placeholder). This and previous symlink and ".." path fixes prompted by a report from Daniel Cegielka (daniel.cegielka (at) gmail.com) ok millert@ |