Michael Stone wrote:
> Otavio Salvador wrote:
>> Michael Stone wrote:
>>> you wrote:
>>>> $: sort -um -o list list work
>>>
>>> I'll look at the segfault, but I'm not sure that was ever guaranteed to give
>>> a useful result (you're overwriting an input file).
>>
>> Yes, it works nicely in stable release (hence the notfound usage) so it
>> qualifies as a regression IMO.
>
> I didn't say it didn't work, I said "I'm not sure that was ever  
> guaranteed to give a useful result".

In this case it is guaranteed to provide a meaning result.  Both
traditional implementations and POSIX require -o to buffer output so
that it can also be an input file.  (I think that is virtually the
entire reason for the -o instead of simply using output redirection.)

  http://www.opengroup.org/onlinepubs/009695399/utilities/sort.html

  -o  output
      Specify the name of an output file to be used instead of the
      standard output. This file can be the same as one of the input files.

In any case it shouldn't segfault.

Bob



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to