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

Ubuntu Foundations Team Bug Bot 1807295 at bugs.launchpad.net
Fri Dec 7 04:19:35 UTC 2018


The attachment "patch for checking file type" seems to be a patch.  If
it isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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