Author: Jenny Charlene Date: Subject: Why is this not doing as I expect?
On Friday 14 February 2003 11:21 am, Michael Havens wrote: > Or am I expecting the wrong thing?
>
> [bmike1@localhost bmike1]$
> [bmike1@localhost bmike1]$ sort > sort-test
> gosh apple time tully
> free freedom
> more sort-test
> <cntrl-D>
> [bmike1@localhost bmike1]$ more sort-test
> free freedom
> gosh apple time tully
> more sort-test
> [bmike1@localhost bmike1]$
Sort only looks to the first letter of each line, so your result is sorted
correctly!
--
Take care,
Jenny
Random quote of the day:
Doubt isn't the opposite of faith; it is an element of faith.
- Paul Tillich, German theologian and historian