* NEWS: Use a standard version specification.
* doc/coreutils.texi: Fix incorrect grammar.
* src/df.c: Update a stale comment.
* src/copy.c: Fix incorrect spellings.
* src/factor.c: Likewise.
* src/ls.c: Likewise.
* src/pr.c: Likewise.
* src/relpath.c: Likewise.
* src/shred.c: Likewise.
* src/sort.c: Likewise.
* src/split.c: Likewise.
* src/stdbuf.c: Likewise.
* tests/misc/seq-precision.sh: Likewise.
[bug introduced in coreutils-8.10]
ls no longer prematurely wraps lines when printing short file names.
- [bug introduced in 5.1.0]
+ [bug introduced in coreutils-5.1.0]
shred again uses defined patterns for all iteration counts.
[bug introduced in coreutils-5.93]
portion of the file. Also when count=0
failure to discard the cache is diagnosed
and reflected in the exit status.
-Here as some usage examples:
+Here are some usage examples:
@example
# Advise to drop cache for whole file
/* Copy the file SRC_NAME to the file DST_NAME. The files may be of
any type. NEW_DST should be true if the file DST_NAME cannot
exist because its parent directory was just created; NEW_DST should
- be false if DST_NAME might already exist. A nonnull PARENT describes the
+ be false if DST_NAME might already exist. A non-null PARENT describes the
parent directory. ANCESTORS points to a linked, null terminated list of
devices and inodes of parent directories of SRC_NAME. COMMAND_LINE_ARG
is true iff SRC_NAME was specified on the command line.
If this happens to you, please do the following and send the output
to the bug-reporting address (e.g., in the output of cp --help):
touch k; perl -e 'rename "k","/tmp/k" or print "$!(",$!+0,")\n"'
- where your current directory is on one partion and /tmp is the other.
+ where your current directory is on one partition and /tmp is the other.
Also, please try to find the E* errno macro name corresponding to
the diagnostic and parenthesized integer, and include that in your
e-mail. One way to do that is to run a command like this
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>.
- --human-readable and --megabyte options added by lm@sgi.com.
+ --human-readable option added by lm@sgi.com.
--si and large file support added by eggert@twinsun.com. */
#include <config.h>
Using GMP is optional. Define HAVE_GMP to make this code include GMP
factoring code. The GMP factoring code is based on GMP's demos/factorize.c
- (last synched 2012-09-07). The GMP-based factoring code will stay in GMP
+ (last synced 2012-09-07). The GMP-based factoring code will stay in GMP
factoring code even if numbers get small enough for using the two-word
code.
} \
while (0)
-/* With --dired, store pairs of beginning and ending indices of filenames. */
+/* With --dired, store pairs of beginning and ending indices of file names. */
static struct obstack dired_obstack;
/* With --dired, store pairs of beginning and ending indices of any
state = ST_END; /* End of string */
break;
case '\\':
- state = ST_BACKSLASH; /* Backslash scape sequence */
+ state = ST_BACKSLASH; /* Backslash escape sequence */
++p;
break;
case '^':
}
/* Compare file extensions. Files with no extension are 'smallest'.
- If extensions are the same, compare by filenames instead. */
+ If extensions are the same, compare by file names instead. */
static inline int
cmp_extension (struct fileinfo const *a, struct fileinfo const *b,
we do column balancing on the last page. */
static int *line_vector;
-/* Array of horizonal positions.
+/* Array of horizontal positions.
For each line in line_vector, end_vector[line] is the horizontal
position we are in after printing that line. We keep track of this
so that we know how much we need to pad to prepare for the next
}
/* Output the relative representation if possible.
- If BUF is non NULL, write to that buffer rather than to stdout. */
+ If BUF is non-NULL, write to that buffer rather than to stdout. */
bool
relpath (const char *can_fname, const char *can_reldir, char *buf, size_t len)
{
unsigned long int k, unsigned long int n)
{
off_t size = *sizep;
- off_t offset; /* Current file posiiton */
+ off_t offset; /* Current file position */
time_t thresh IF_LINT ( = 0); /* Time to maybe print next status update */
time_t now = 0; /* Current time */
size_t lim; /* Amount of data to try writing */
struct merge_node
{
struct line *lo; /* Lines to merge from LO child node. */
- struct line *hi; /* Lines to merge from HI child ndoe. */
+ struct line *hi; /* Lines to merge from HI child node. */
struct line *end_lo; /* End of available lines from LO. */
struct line *end_hi; /* End of available lines from HI. */
struct line **dest; /* Pointer to destination of merge. */
/* The file's name. */
char const *name;
- /* Nonnull if this is a temporary file, in which case NAME == TEMP->name. */
+ /* Non-null if this is a temporary file, in which case NAME == TEMP->name. */
struct tempnode *temp;
};
}
/* Write LINE to output stream FP; the output file's name is
- OUTPUT_FILE if OUTPUT_FILE is nonnull, and is the standard output
+ OUTPUT_FILE if OUTPUT_FILE is non-null, and is the standard output
otherwise. If debugging is enabled and FP is standard output,
append some debugging information. */
if (split_type != type_undef)
FAIL_ONLY_ONE_WAY ();
split_type = type_bytes;
- /* Limit to OFF_T_MAX, becaue if input is a pipe, we could get more
+ /* Limit to OFF_T_MAX, because if input is a pipe, we could get more
data than is possible to write to a single file, so indicate that
immediately rather than having possibly future invocations fail. */
n_units = xdectoumax (optarg, 1, OFF_T_MAX, multipliers,
stdbuf is running from. */
set_program_path (program_name);
if (!program_path)
- program_path = xstrdup (PKGLIBDIR); /* Need to init to non NULL. */
+ program_path = xstrdup (PKGLIBDIR); /* Need to init to non-NULL. */
set_LD_PRELOAD ();
free (program_path);
printf "%s\n" 999999 1000000 > exp || framework_failure_
compare exp out || fail=1
-# Excercise buffer handling in non floating point output
+# Exercise buffer handling in non floating point output
for i in $(seq 100); do
n1="$(printf '%*s' $i '' | tr ' ' 9)"
n2="1$(echo $n1 | tr 9 0)"