[Bug 1087753] Re: Output of ls not matching with sort, uniq combinations

Edward Donovan launchpad at numble.net
Fri Dec 7 19:35:36 UTC 2012


** Package changed: ubuntu => coreutils (Ubuntu)

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

Title:
  Output of ls not matching with sort, uniq combinations

Status in “coreutils” package in Ubuntu:
  New

Bug description:
  The output of the ls command as in the below, 
  ls /bin /usr/bin | sort | uniq | wc -l
  ls /bin /usr/bin | uniq | sort | wc -l

  While the above two commands try to fetch the list of two folders /bin and /usr/bin, which contain some names, the output either after sorting and taking unique values, or after taking unique values and then sorting, should be the same.
  However, the output of the above two commands is not alike which needs to be checked as to where the problem is.

  Note :- The above mentioned type of command/ filter is working fine if
  we use single directory for listing instead of multiple directories.

  
  Regards,
  Jnaneswar,
  +91-9246308079

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




More information about the foundations-bugs mailing list