bug-obsolete-packages
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-obsolete-packages] uniq gives unexpected (wrong) results


From: Nickles, Jack
Subject: [bug-obsolete-packages] uniq gives unexpected (wrong) results
Date: Sun, 27 Sep 2020 02:10:19 +0000

Hi, I am getting really strange results from the uniq program (Windows 10 Pro, Version 2004, OS Build 19041.508)

 

The following data is in iconfiles.txt:

@%ProgramFiles%\Windows Defender\MpAsDesc.dll,-103

@%SystemRoot%\system32\appwiz.cpl,-1507

@%SystemRoot%\system32\appwiz.cpl,-1507

@%SystemRoot%\system32\appwiz.cpl,-1507

@%SystemRoot%\system32\cmlua.dll,-101

@%SystemRoot%\system32\cmlua.dll,-101

@%SystemRoot%\system32\cmlua.dll,-101

@%SystemRoot%\system32\cmstplua.dll,-101

@%SystemRoot%\system32\cmstplua.dll,-101

@%SystemRoot%\system32\cmstplua.dll,-101

@%systemroot%\system32\cscui.dll,-1200

@%systemroot%\system32\DeviceCenter.dll,-151

@%systemroot%\system32\DeviceCenter.dll,-151

@%systemroot%\system32\DeviceCenter.dll,-151

@%Systemroot%\System32\DiagCpl.dll,-1

@%SystemRoot%\system32\dtsh.dll,-40002

@%SystemRoot%\system32\dtsh.dll,-40002

@%SystemRoot%\system32\dtsh.dll,-40002

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%systemroot%\system32\firewallcontrolpanel.dll,-1

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%systemroot%\system32\firewallcontrolpanel.dll,-1

@%systemroot%\system32\firewallcontrolpanel.dll,-1

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%SystemRoot%\system32\fontext.dll,-10

@%SystemRoot%\system32\fontext.dll,-10

@%SystemRoot%\system32\fontext.dll,-10

@%SystemRoot%\System32\fveui.dll,-1

@%systemroot%\system32\imageres.dll,-1013

@%systemroot%\system32\imageres.dll,-1013

@%systemroot%\system32\imageres.dll,-1013

@%systemroot%\system32\imageres.dll,-1013

@%systemroot%\system32\imageres.dll,-1013

@%systemroot%\system32\imageres.dll,-1013

@%SystemRoot%\system32\imageres.dll,-109

@%SystemRoot%\system32\imageres.dll,-109

@%SystemRoot%\system32\imageres.dll,-109

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-110

@%SystemRoot%\system32\imageres.dll,-178

@%SystemRoot%\system32\imageres.dll,-178

@%SystemRoot%\system32\imageres.dll,-178

@%systemroot%\system32\imageres.dll,-3

@%systemroot%\system32\imageres.dll,-3

@%systemroot%\system32\imageres.dll,-3

@%SystemRoot%\system32\imageres.dll,-87

@%SystemRoot%\system32\imageres.dll,-87

@%SystemRoot%\system32\imageres.dll,-87

@%systemroot%\system32\intl.cpl,-200

@%systemroot%\system32\intl.cpl,-200

@%systemroot%\system32\intl.cpl,-200

@%systemroot%\system32\lpksetup.exe,-5

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\mdminst.dll,-5100

@%SystemRoot%\System32\ndfapi.dll,-500

@%SystemRoot%\System32\ndfapi.dll,-500

@%SystemRoot%\System32\ndfapi.dll,-500

@%SystemRoot%\system32\netcenter.dll,-1

@%SystemRoot%\system32\netcenter.dll,-1

@%SystemRoot%\system32\netcenter.dll,-1

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\netshell.dll,-5

@%SystemRoot%\system32\ntshrui.dll,-116

@%SystemRoot%\system32\ntshrui.dll,-116

@%SystemRoot%\system32\ntshrui.dll,-116

@%SystemRoot%\System32\PerfCenterCPL.dll,-1

@%SystemRoot%\System32\powercpl.dll,-1

@%SystemRoot%\System32\powercpl.dll,-1

@%SystemRoot%\System32\powercpl.dll,-1

@%SystemRoot%\system32\rasdlg.dll,-562

@%SystemRoot%\system32\rasdlg.dll,-562

@%SystemRoot%\system32\rasdlg.dll,-562

@%SystemRoot%\system32\rasdlg.dll,-562

@%SystemRoot%\system32\rasdlg.dll,-562

@%SystemRoot%\system32\rasdlg.dll,-562

@%Systemroot%\System32\recovery.dll,-1

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%systemroot%\system32\SecurityHealthAgent.dll,-101

@%SystemRoot%\system32\shell32.dll,-63012

@%SystemRoot%\system32\shell32.dll,-63012

@%SystemRoot%\system32\shell32.dll,-63012

@%SystemRoot%\System32\sppcomapi.dll,-1

@%SystemRoot%\System32\sppcomapi.dll,-1

@%SystemRoot%\System32\sppcomapi.dll,-1

@%systemroot%\system32\tapiui.dll,-201

@%systemroot%\system32\tapiui.dll,-201

@%systemroot%\system32\tapiui.dll,-201

@%systemroot%\system32\timedate.cpl,-50

@%systemroot%\system32\timedate.cpl,-50

@%systemroot%\system32\timedate.cpl,-50

@%Systemroot%\System32\usercpl.dll,-1

@%Systemroot%\System32\usercpl.dll,-1

@%Systemroot%\System32\usercpl.dll,-1

@%Systemroot%\System32\usercpl.dll,-1

@%Systemroot%\System32\usercpl.dll,-1

@%Systemroot%\System32\usercpl.dll,-1

@%systemroot%\system32\werconcpl.dll,-6

@%systemroot%\system32\werconcpl.dll,-6

@%systemroot%\system32\wlanpref.dll,-101

@%systemroot%\system32\wlanpref.dll,-101

@%systemroot%\system32\wlanpref.dll,-101

@%systemroot%\system32\wlanpref.dll,-103

@%systemroot%\system32\wlanpref.dll,-103

@%systemroot%\system32\wlanpref.dll,-103

@%SystemRoot%\system32\wmploc.dll,-2957

@%SystemRoot%\System32\wscui.cpl,-5000

@%SystemRoot%\System32\wscui.cpl,-5000

@%SystemRoot%\System32\wscui.cpl,-5000

@%SystemRoot%\system32\wuapi.dll,-63101

@%SystemRoot%\system32\wuapi.dll,-63101

@%SystemRoot%\system32\wuapi.dll,-63101

@C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,-101

@C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,-101

@C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,-101

@C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,-101

@C:\Program Files (x86)\CyberLink\PowerDVD13\Dispatch.dll,-201

@C:\Program Files (x86)\CyberLink\PowerDVD13\Dispatch.dll,-201

@C:\Program Files (x86)\CyberLink\PowerDVD14\Dispatch.dll,-201

@C:\Program Files (x86)\CyberLink\PowerDVD14\Dispatch.dll,-201

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

@C:\Program Files (x86)\Internet Explorer\IEInstal.exe,-1002

@C:\Program Files (x86)\Internet Explorer\IEInstal.exe,-1002

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

@c:\Program Files\Common Files\Microsoft Shared\OFFICE16\liclua.exe,-1

@C:\Program Files\Internet Explorer\IEInstal.exe,-1002

@C:\Windows\system32\colorui.dll,-5

@C:\Windows\System32\colorui.dll,-5

@C:\Windows\system32\colorui.dll,-5

@C:\Windows\system32\dskquoui.dll,-117

@C:\Windows\system32\dskquoui.dll,-117

@C:\Windows\System32\dskquoui.dll,-117

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\System32\netcenter.dll,-1

@C:\Windows\System32\WfsR.dll,-128

 

The results of

  • uniq -c iconfiles.txt

 

      1       @%ProgramFiles%\Windows Defender\MpAsDesc.dll,-103

      3       @%SystemRoot%\system32\appwiz.cpl,-1507

      3       @%SystemRoot%\system32\cmlua.dll,-101

      3       @%SystemRoot%\system32\cmstplua.dll,-101

      1       @%systemroot%\system32\cscui.dll,-1200

      3       @%systemroot%\system32\DeviceCenter.dll,-151

      1       @%Systemroot%\System32\DiagCpl.dll,-1

      3       @%SystemRoot%\system32\dtsh.dll,-40002

      1       @%Systemroot%\System32\FirewallControlPanel.dll,-1

      1       @%systemroot%\system32\firewallcontrolpanel.dll,-1

      1       @%Systemroot%\System32\FirewallControlPanel.dll,-1

      2       @%systemroot%\system32\firewallcontrolpanel.dll,-1

      1       @%Systemroot%\System32\FirewallControlPanel.dll,-1

      3       @%SystemRoot%\system32\fontext.dll,-10

      1       @%SystemRoot%\System32\fveui.dll,-1

      6       @%systemroot%\system32\imageres.dll,-1013

      3       @%SystemRoot%\system32\imageres.dll,-109

     18      @%SystemRoot%\system32\imageres.dll,-110

      3       @%SystemRoot%\system32\imageres.dll,-178

      3       @%systemroot%\system32\imageres.dll,-3

      3       @%SystemRoot%\system32\imageres.dll,-87

      3       @%systemroot%\system32\intl.cpl,-200

      1       @%systemroot%\system32\lpksetup.exe,-5

      6       @%SystemRoot%\System32\mdminst.dll,-5100

      3       @%SystemRoot%\System32\ndfapi.dll,-500

      3       @%SystemRoot%\system32\netcenter.dll,-1

     15      @%SystemRoot%\system32\netshell.dll,-5

      3       @%SystemRoot%\system32\ntshrui.dll,-116

      1       @%SystemRoot%\System32\PerfCenterCPL.dll,-1

      3       @%SystemRoot%\System32\powercpl.dll,-1

      6       @%SystemRoot%\system32\rasdlg.dll,-562

      1       @%Systemroot%\System32\recovery.dll,-1

     11      @%systemroot%\system32\SecurityHealthAgent.dll,-101

      3       @%SystemRoot%\system32\shell32.dll,-63012

      3       @%SystemRoot%\System32\sppcomapi.dll,-1

      3       @%systemroot%\system32\tapiui.dll,-201

      3       @%systemroot%\system32\timedate.cpl,-50

      6       @%Systemroot%\System32\usercpl.dll,-1

      2       @%systemroot%\system32\werconcpl.dll,-6

      3       @%systemroot%\system32\wlanpref.dll,-101

      3       @%systemroot%\system32\wlanpref.dll,-103

      1       @%SystemRoot%\system32\wmploc.dll,-2957

      3       @%SystemRoot%\System32\wscui.cpl,-5000

      3       @%SystemRoot%\system32\wuapi.dll,-63101

      4       @C:\Program Files (x86)\Apple Software Update\SoftwareUpdateAdmin.dll,-101

      2       @C:\Program Files (x86)\CyberLink\PowerDVD13\Dispatch.dll,-201

      2       @C:\Program Files (x86)\CyberLink\PowerDVD14\Dispatch.dll,-201

     10      @C:\Program Files (x86)\Dropbox\Update\1.3.335.1\goopdate.dll,-1004

     10      @C:\Program Files (x86)\Google\Update\1.3.35.452\goopdate.dll,-1004

      2       @C:\Program Files (x86)\Internet Explorer\IEInstal.exe,-1002

     10      @C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.135.33\msedgeupdate.dll,-1004

      1       @c:\Program Files\Common Files\Microsoft Shared\OFFICE16\liclua.exe,-1

      1       @C:\Program Files\Internet Explorer\IEInstal.exe,-1002

      1       @C:\Windows\system32\colorui.dll,-5

      1       @C:\Windows\System32\colorui.dll,-5

      1       @C:\Windows\system32\colorui.dll,-5

      2       @C:\Windows\system32\dskquoui.dll,-117

      1       @C:\Windows\System32\dskquoui.dll,-117

      1       @C:\Windows\System32\FirewallControlPanel.dll,-1

      2       @C:\Windows\system32\FirewallControlPanel.dll,-1

      1       @C:\Windows\System32\FirewallControlPanel.dll,-1

      1       @C:\Windows\system32\FirewallControlPanel.dll,-1

      1       @C:\Windows\System32\FirewallControlPanel.dll,-1

      6       @C:\Windows\system32\FirewallControlPanel.dll,-1

      1       @C:\Windows\System32\FirewallControlPanel.dll,-1

      1       @C:\Windows\system32\FirewallControlPanel.dll,-1

      1       @C:\Windows\System32\FirewallControlPanel.dll,-1

      1       @C:\Windows\System32\netcenter.dll,-1

      1       @C:\Windows\System32\WfsR.dll,-128

 

The lines at the end just don’t make any sense.  Why aren’t they considered in the same group?

Similarly,

  • uniq -u iconfiles.txt

 

@%ProgramFiles%\Windows Defender\MpAsDesc.dll,-103

@%systemroot%\system32\cscui.dll,-1200

@%Systemroot%\System32\DiagCpl.dll,-1

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%systemroot%\system32\firewallcontrolpanel.dll,-1

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%Systemroot%\System32\FirewallControlPanel.dll,-1

@%SystemRoot%\System32\fveui.dll,-1

@%systemroot%\system32\lpksetup.exe,-5

@%SystemRoot%\System32\PerfCenterCPL.dll,-1

@%Systemroot%\System32\recovery.dll,-1

@%SystemRoot%\system32\wmploc.dll,-2957

@c:\Program Files\Common Files\Microsoft Shared\OFFICE16\liclua.exe,-1

@C:\Program Files\Internet Explorer\IEInstal.exe,-1002

@C:\Windows\system32\colorui.dll,-5

@C:\Windows\System32\colorui.dll,-5

@C:\Windows\system32\colorui.dll,-5

@C:\Windows\System32\dskquoui.dll,-117

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\system32\FirewallControlPanel.dll,-1

@C:\Windows\System32\FirewallControlPanel.dll,-1

@C:\Windows\System32\netcenter.dll,-1

@C:\Windows\System32\WfsR.dll,-128

 

Seemingly ignoring most of the data.  Any hints?  I’m using the default code page (437 I think that is), although I see no difference if I change the code page to 65001 (UTF-8).

 

Thanks,

 

Jack Nickles

Jack.richard.nickles@emory.edu

(404) 358-3452 cell

 

 

 




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]