Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put documentation of the -m option's argument in its list tag in the | tjr | 2002-06-30 | 1 | -2/+4 |
| | | | | Description section for consistency with other manpages. | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 1 | -2/+4 |
| | |||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 67 | -145/+138 |
| | |||||
* | Consistently use __FBSDID | obrien | 2002-06-30 | 34 | -95/+72 |
| | |||||
* | Avoid truncating the pathname to UNIX Domain Sockets with snprintf(), | tjr | 2002-06-29 | 1 | -2/+5 |
| | | | | | giving a more sensible warning when the (relatively meagre) sun_path limit is exceeded. | ||||
* | Check that snprintf() does not truncate the destination pathname when | tjr | 2002-06-29 | 1 | -1/+6 |
| | | | | linking into a directory. | ||||
* | Document addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c. | sheldonh | 2002-06-27 | 1 | -1/+3 |
| | |||||
* | Add support for RLIMIT_VMEM. The #ifdef's were already there but getopt() | dillon | 2002-06-26 | 1 | -1/+1 |
| | | | | needed to be adjusted. | ||||
* | ln(1)'s symbolic link handling conforms to IEEE Std. 1003.1-2001, note | tjr | 2002-06-25 | 1 | -1/+1 |
| | | | | this in the Standards section. | ||||
* | Correctly mark up the final command line arguments with the Ar macro for | tjr | 2002-06-25 | 1 | -2/+2 |
| | | | | the last two synopsis forms. | ||||
* | Add a description of the restrictions that red(1) imposes to users, | keramida | 2002-06-24 | 1 | -7/+24 |
| | | | | | | | | | | and a warning that this "restricted mode" can be bypassed easily by using symlinks, so that users don't depend too much on it. PR: docs/35940 Submitted by: Gary W. Swearingen <swear@blarg.net> Reviewed by: jmallett MFC after: 1 week | ||||
* | Don't try to decode old-style options if the argv[1] begins with `-' and the | sobomax | 2002-06-20 | 1 | -10/+28 |
| | | | | | | | | | | | | | second character represents some option taking an argument. This fixes problem when ps(1) is invoked for examply as follows: $ ps -Ufoobar1234 the above example results in option string being interpreted as -U foobarp1234 - note extra `p'. Reported by: Vladimir Sotnikov <vovan@kyivstar.net> MFC after: 2 weeks | ||||
* | Bogusness may have happened using a variable assignment here before, but | jmallett | 2002-06-20 | 1 | -1/+1 |
| | | | | | | | | proper parens mean that fd is always set by open(2) [in any part of C], and so we can accurately check for it returning -1, without feeling like we need to initialise fd to -1 in its declaration. In other words, fix a stylistic/bogus nit. | ||||
* | Use size_t consistently and complete some uncompleted code resulting in a | jmallett | 2002-06-20 | 2 | -3/+6 |
| | | | | | | | memory leak by assigning and freeing a variable appropriately as well as keeping track of the amount of allocated ram properly. MFC after: 1 month | ||||
* | We have a place for extern declarations of global variables in ed.h, do not | jmallett | 2002-06-20 | 2 | -3/+2 |
| | | | | use main() to do it locally. | ||||
* | Remove two unused variables. | jmallett | 2002-06-20 | 1 | -2/+0 |
| | |||||
* | Minor const cleanup. | jmallett | 2002-06-20 | 2 | -4/+4 |
| | | | | Don't discard qualifiers we don't need to discard. | ||||
* | Bring documentation on CDPATH and its effects on cd(1) back into sync with | tjr | 2002-06-19 | 1 | -4/+6 |
| | | | | | | | | | reality (and POSIX): current directory isn't searched unless CDPATH has a "." element or is unset. PR: 38442 Submitted by: oleg dashevskii <be9@be9.ru> MFC after: 1 week | ||||
* | When trying to emulate a cross-device move operation with cp and rm, add | tjr | 2002-06-16 | 1 | -2/+2 |
| | | | | | | | | | a "--" argument after the options so filenames with leading dashes are handled correctly. PR: 39318 Submitted by: Serge van den Boom <svdb@stack.nl> MFC after: 1 week | ||||
* | Use an usage() rather than doing the fprintf inside option parsing. | jmallett | 2002-06-14 | 1 | -3/+9 |
| | |||||
* | When -R is not specified, fail to copy the contents of dangling symlinks | tjr | 2002-06-13 | 1 | -3/+11 |
| | | | | | | instead of making a copy of the link itself (SUSv3) Obtained from: NetBSD | ||||
* | Print the "$" symbol on blank lines when the -s and -e options are used | tjr | 2002-06-13 | 1 | -17/+11 |
| | | | | | | together. Obtained from: OpenBSD (millert, Denis Afonin) | ||||
* | Remove bogus "-" operand from usage message. There is no restriction on | tjr | 2002-06-13 | 1 | -1/+1 |
| | | | | where it may be placed, it is treated the same as the file arguments. | ||||
* | Markup nits: use the Ar macro when describing the -signal_name and | tjr | 2002-06-13 | 1 | -5/+7 |
| | | | | -signal_number options, and for referring to the "pid" argument. | ||||
* | Add examples and diagnostics sections | tjr | 2002-06-13 | 1 | -0/+17 |
| | |||||
* | Support the "--" end of options marker, useful to disambiguate between | tjr | 2002-06-13 | 1 | -1/+4 |
| | | | | | signal numbers and process groups (negative pid arguments), and required by SUSv3. | ||||
* | Don't list shell builtins when the hash command is used (SUSv3) | tjr | 2002-06-13 | 1 | -1/+2 |
| | |||||
* | ps(1) appeared in v4 | jmallett | 2002-06-10 | 1 | -1/+1 |
| | | | | Submitted by: grog | ||||
* | Sort sections, use Ex macro in Diagnostics section, point out that the first | tjr | 2002-06-10 | 1 | -11/+4 |
| | | | | example only works with csh(1). | ||||
* | Add History section. sleep appeared in v4. | tjr | 2002-06-10 | 1 | -0/+5 |
| | |||||
* | Note early appearence of some commands. These actually appeared in PWB, but | jmallett | 2002-06-10 | 1 | -0/+5 |
| | | | | | it seems we don't have a macro for that yet, so list them in the first UNIX release since then that we have a .At for: v7. | ||||
* | Use socklen_t for the length of a socket structure instead of `int'. | keramida | 2002-06-09 | 1 | -1/+2 |
| | | | | Reviewed by: mike | ||||
* | Replace <strings.h> with <string.h>. No functions from the former are | keramida | 2002-06-09 | 1 | -1/+1 |
| | | | | | | | used in this file, and strlen() needs to be prototyped by the latter, for this to compile without warnings. Reviewed by: mike | ||||
* | Check the return value of getcwd() to avoid printf()ing a NULL. Mark | mike | 2002-06-09 | 1 | -4/+5 |
| | | | | | | usage() as __dead2 to avoid a GCC warning. Spotted by: keramida | ||||
* | Allow whitespace to act as a delimiter in the keywords list given to the -o, | jmallett | 2002-06-08 | 2 | -5/+14 |
| | | | | | | | | again, but also allow it in the user-specified header, too. This is far more backwards compatible and SUSv3-happy than allowing only comma to seperate the keywords list. Submitted by: tjr | ||||
* | Fixed unsorting. | bde | 2002-06-08 | 1 | -1/+1 |
| | |||||
* | Don't say that the list of formats can be space delimited, it no longer can be. | jmallett | 2002-06-08 | 1 | -2/+5 |
| | | | | | | Mention that more than one -o will concatenate formats. Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp> | ||||
* | Back out previous back out of previously correct code. | jmallett | 2002-06-07 | 1 | -2/+1 |
| | | | | | Double-plus-pointy-hat to: jmallett Submitted by: bde | ||||
* | Remove tunables to hide warnings that no longer exist. | jmallett | 2002-06-07 | 1 | -2/+0 |
| | |||||
* | Cast to long to match format. Hidden by revision 1.18 of Makefile. | jmallett | 2002-06-07 | 1 | -1/+2 |
| | |||||
* | Use a global `now' variable for the current time, and initialise it at | jmallett | 2002-06-06 | 3 | -6/+5 |
| | | | | startup, right after calling setlocale(3). | ||||
* | Implement a SUSv3-ignorant but "time"-similar format for "etime", elapsed | jmallett | 2002-06-06 | 4 | -0/+21 |
| | | | | | run time (NOT cpu time). cputime() and elapsed() both need to honour SUSv3 now. | ||||
* | sysctlbyname(3) returns -1 on failure, not any other value < 0. | jmallett | 2002-06-06 | 1 | -3/+3 |
| | |||||
* | Support the SUSv3 `rgroup' format. | jmallett | 2002-06-06 | 4 | -5/+24 |
| | | | | Clean up some local style bogons. | ||||
* | Cast arg_max to size_t when comparing it (times 4, plus 1) against SIZE_MAX. I | jmallett | 2002-06-06 | 1 | -1/+2 |
| | | | | | | | | was worried about truncation of arg_max by this cast, but if it gets truncated, we know it'll obviously be greater than SIZE_MAX anyway. Big pointy hat to: jmallett Submitted by: keramida | ||||
* | SUSv3 conform on the "comm" and "args" formats, and make correct the "command" | jmallett | 2002-06-06 | 4 | -4/+41 |
| | | | | format, since it's BSDlike, and "comm" is actually different. | ||||
* | Refer to the command format by its SUSv3 name (comm), and list command as an | jmallett | 2002-06-06 | 1 | -2/+2 |
| | | | | alias. | ||||
* | As per behaviour on SVR4 systems, to allow any desirable type of header in the | jmallett | 2002-06-06 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | override, seperate by comma (',') only, rather than any type of whitespace (the literal space character (' ') had already been removed from this list). This allows things like: miamivice# ps -opid='Process > Identifier' Process Identifier 1350 1445 1450 To work. | ||||
* | Document the -f and -v options of the unset builtin. | tjr | 2002-06-06 | 1 | -5/+15 |
| | |||||
* | Quote the output of the no-argument form of the `set' builtin for re-input | tjr | 2002-06-06 | 1 | -2/+8 |
| | | | | to the shell. |