[Bug 1807295] Re: Sort - Checking & Handling File Types

C de-Avillez hggdh2 at ubuntu.com
Fri Dec 28 18:24:34 UTC 2018


Thank you for opening this bug and helping make Ubuntu/GNU Coreutils
better. I have sent email to coreutils at gnu.org asking about this, and a
few other bugs relating to the same basic issue, and am waiting on
feedback from upstream:

Hello,

We have had some bugs reported recently at our BTS:

https://bugs.launchpad.net/bugs/1807295
https://bugs.launchpad.net/bugs/1807797
https://bugs.launchpad.net/bugs/1808092
https://bugs.launchpad.net/bugs/1808095

They deal with sort, split, fmt, and uniq, respectively, and provide
tentative patches.

I would like to re-direct the reporters to upstream (i.e., you folks),
but I feel it would be nice to do the redirect with a small blurb of
what upstream thinks about that.

Thank you,

..C..

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1807295

Title:
  Sort - Checking & Handling File Types

Status in coreutils package in Ubuntu:
  New

Bug description:
  I am not completely sure if you would consider this a bug or not. Sort
  like many other applications does not check for file types of the
  inputs that are passed in as arguments. Any case, I wanted to
  entertain the idea of checking file types
  (https://github.com/pkmoore/rrapper/blob/master/anomalies/weird_filetypes.md).
  For example, sorting files that of type block/character/fifo does not
  make much sense as it will just hang or use up all cpu cycles. The
  best implementation of file type checking is in the coreutils
  application mv (copy.c).

  I have included a patch that adds file type check for the types
  mentioned above. Any input or criticism is highly appreciated. I would
  be happy to look an an alternative option or otherwise.

  Thanks!
  Amit
  abiswas at nyu.edu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1807295/+subscriptions



More information about the foundations-bugs mailing list