Re: why does "sort" produce an extra trailing newline?
- From: "David W. Hodgins" <dwhodgins@xxxxxxxxxxxxxxxxx>
- Date: Mon, 23 Feb 2009 20:12:32 -0500
On Mon, 23 Feb 2009 18:33:20 -0500, Rahul <nospam@xxxxxxxxxxxxxx> wrote:
Has anybody noticed that sort produces an extra trailing newline? Or is it
From "info sort"
" GNU `sort' (as specified for all GNU utilities) has no limit on
input line length or restrictions on bytes allowed within lines. In
addition, if the final byte of an input file is not a newline, GNU
`sort' silently supplies one. A line's trailing newline is not part of
the line for comparison purposes."
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
.
- References:
- Prev by Date: Re: why does "sort" produce an extra trailing newline?
- Next by Date: Re: why does "sort" produce an extra trailing newline?
- Previous by thread: Re: why does "sort" produce an extra trailing newline?
- Next by thread: can I mix DAG and RHEL yum repos or not?
- Index(es):
Relevant Pages
|