We might as well join the coreutils and util-linux
projects in correcting our own typos.
The following was left unchanged:
top/top.c[1797]: thru -> "through"
references:
http://lists.gnu.org/archive/html/coreutils/2012-04/msg00057.html
http://marc.info/?l=util-linux-ng&m=
133518057419736&w=2
Signed-off-by: Jim Warner <james.warner@comcast.net>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/CodingStyle
-In addtion to Linux coding style this project has few addtional
+In addtion to Linux coding style this project has few additional
wishes to contributors.
* Many small patches are favoured over one big. Break down is done on
);
memset(outbuf, ' ', SPACE_AMOUNT);
if(SPACE_AMOUNT==page_size) mprotect(outbuf, page_size, PROT_READ);
- mprotect(outbuf + page_size*outbuf_pages, page_size, PROT_NONE); // gaurd page
+ mprotect(outbuf + page_size*outbuf_pages, page_size, PROT_NONE); // guard page
saved_outbuf = outbuf + SPACE_AMOUNT;
// available space: page_size*outbuf_pages-SPACE_AMOUNT
// "IEEE Std 1003.1, 2004 Edition", "ISO/IEC 9945:2003",
// or "Version 2 of the Single Unix Specification".
//
- // It may be time to re-think the existance of this list.
+ // It may be time to re-think the existence of this list.
// In the meantime, please do not add to it. The list is
// intended to ONLY contain flags defined by the POSIX and UNIX
// standards published by The Open Group, IEEE, and ISO.
T}
maj_flt MAJFLT T{
-The number of major page faults that have occured with this process.
+The number of major page faults that have occurred with this process.
T}
min_flt MINFLT T{
-The number of minor page faults that have occured with this process.
+The number of minor page faults that have occurred with this process.
T}
ni NI T{
spawn $free -c 0
expect_pass "$test" "\(lt-\)\?free: failed to parse count argument: '0': Numerical result out of range"
-set test "free with postive repeat count"
-set test "free with postive repeat count"
+set test "free with positive repeat count"
spawn $free -c 2
expect_continue "$test" "^${free_header}"
expect_pass "$test" "${free_header}"
Each test was run outside of X-windows at a linux console
offering 48 rows and 170 columns. This was done to reduce
- contention which sometimes made comparisions problematic.
+ contention which sometimes made comparisons problematic.
old-top = procps-3.2.8 (debian patched and memory leaking)
new-top = procps-ng-3.3.2 with NLS support
Width_mode = 0; // set w/ 'w' - potential output override
/* Unchangeable cap's stuff built just once (if at all) and
- thus NOT saved in a WIN_t's RCW_t. To accomodate 'Batch'
+ thus NOT saved in a WIN_t's RCW_t. To accommodate 'Batch'
mode, they begin life as empty strings so the overlying
logic need not change ! */
static char Cap_clr_eol [CAPBUFSIZ] = "", // global and/or static vars
#ifdef EQUCOLHDRYES
// prepare to even out column header lengths...
if (hdrmax + w->hdrcaplen < (x = strlen(w->columnhdr))) hdrmax = x - w->hdrcaplen;
- // must sacrifice last header positon to avoid task row abberations
+ // must sacrifice last header position to avoid task row abberations
w->eolcap = Caps_endline;
#else
if (Screen_cols > (int)strlen(w->columnhdr)) w->eolcap = Caps_endline;
/*
- * This guy coordinates the activities surounding the maintainence
+ * This guy coordinates the activities surrounding the maintainence
* of each visible window's columns headers and the library flags
* required for the openproc interface. */
static void calibrate_fields (void) {
#else
OFFw(w, Show_FOREST);
#endif
- /* these keys represent old-top compatability --
+ /* these keys represent old-top compatibility --
they're grouped here so that if users could ever be weaned,
we would just whack do_key's key_tab entry and this function... */
switch (ch) {
// comment additions.
//
// Also, by omitting the argument for the --add-comments
- // XGETTEXT_OPTION in po/Makevars, *any* preceeding c style
+ // XGETTEXT_OPTION in po/Makevars, *any* preceding c style
// comment will be propagated to the .pot file, providing
// that the gettext macro isn't empty as discussed above.
// However, this is far too aggressive so we have chosen
is specified, only one report is printed with the average values since boot.
.TP
.I count
-Number of updates. In absense of
+Number of updates. In absence of
.IR count ,
when
.I delay