Can Grep find duplicates in a list solving upper/lower case differences?

The idea is isolate the info. Any grep that lead to these results will be enough to resolve the problem. Thanks.
actual list
option 1
option 2
option 3
halogen
halogen
halogen
Halogen
Halogen
Halogen
thebaica
therefore
therefore
their
Therefore
Therefore
them
they
they
therefore
They
They
Therefore
thermal
These
they
They
thin

I hope it'll be clear. Maybe I complicate the issue but I do it quickly.
1/ I apply the condition "All" to the entire text.
2/ I apply a char style "Capitales", so that I can convert all in Lower case (see ID menu).
3/ First Regex [for Option 1] (I forgot the screenshot):
in French:
Rechercher : ^(.+\r)\1+
Remplacer par :      (nothing)
Remplacer le format : select condition "Option 1"
4/ 2nd Regex [for Option 2]
4/ 3rd/4th/5th Regex [for Option 3 - in 3 steps]
5/ 6th Regex: I delete all the Text with condition "All".
6/ Now, we only have the Text with conditions Option 1/2 and 3 (see the colors).
7/ If you want, you can delete the 3 conditions:
DONE!
I use a lot with Grep the possibilities Conditions offer us!!! More complex but more fun! 

Similar Messages

  • How can I find duplicate photos without going through all 5000  one at a time?

    How can I find duplicate photos withough going through all 5000 one by one?  I have numerous duplications and used to be able to click on Edit and Find Duplicates and could clean up all the duplicates easily.  Now that option is gone.  I still have lots to delete.

    I do backup everything using Carbonite.Please don't tell me it is bad, too :-)  Also, especially with photo files, I do have other backups of those I am concerned about. Probably not the best in the world, but a log better than many people who I know about.
    Again, I really have not seen any problems with MacKeeper.  I imagine that if people do not read and follow instructions, they could have problems. For example, it is possible to scan all your files and see them in order of size. If you start deleting things, without knowing what you're deleting, you could cause trouble. Even when the computer scans for so-called junk files, you can look at them and decide for yourself if they are truly junk. I've never seen any that were not.
    So, I will look at the complaints anyway to see them. I am open to change, although I hope I do not need to drop Mackeeper as it does things like keeping tracking of applications updates that I need. Please note that I definitely am not a MacKeeper employee or anything close. Just using it and happy with the the results.
    I did download the recommend file for finding photo dupes and ran it.  There were very few duplicates, in any case, As I said before, the MacKeeper dupe finder was very slow when I ran it over ALL my files. That was a year ago and it did find many non-text dupes.

  • Where can I find the no-no list?

    As I am learning more and more about app development, it seems a lot of time can be wasted if you don't follow the rules Apple has set forth. I find post here and there about what not to do, such as using private API's, and tried searching in the Dev Center for something. As I learn I want to learn the, your app has more chance of not being rejected way, where can I find the "no-no" list Apple has?

    The obvious document would be the App Store Review Guidelines for iOS and OSX.
    iOS: https://developer.apple.com/app-store/review/guidelines/
    Mac (OSX): https://developer.apple.com/app-store/review/guidelines/mac/
    Note that iOS apps can only be distributed via the App Store while OSX apps can be distributed directly by the developer.
    Creating a non-App Store app in OSX has several advantages and disadvantages:
    The App Store handles a number of practical issues for you: like setting up a download page and processing payments. It also (supposedly) gives you access to a larger customer base and is the "default" location for getting apps that Apple pushes new users to. The App Store is also more convenient when re-downloading apps, safer and more convenient as users don't have to keep track of activation codes for purchased apps. 
    You don't need to sandbox your app, this is helpful for certain apps that need to access data from other apps or needed to call other apps e.g. via AppleScript.
    You can use private APIs, although this is generally not recommended as these classes are not documented and may change/disappear between OS releases. But poking around in private APIs and other internals may sometimes be the only way to access certain information or to get certain features.
    Not being a App Store app will also mean that you can't use certain APIs - I think that iCloud is one of these.

  • How can I find out which Contact list in my outlook that iCloud is syncing with?

    How can I find out which Contact list in my outlook that iCloud is syncing with?

    Try the helpful tips in the following link to possibly make Outlook and iCloud play nice with your contacts:
    http://www.slipstick.com/outlook/icloud-outlook-problems-syncing-contacts/

  • Can iPhoto find Duplicate Photos

    Can iPhoto find Duplicate Photos like iView Media can? I don't mean finding duplicate names, but rather analyzing the actual photo itself and finding doubles.
    Strangly enough, this is one of the remaining reasons for me needing to use iView for some tasks.
    Powerbook G4    

    No, iPhoto hasn't this functionality. It would be a nice feature though.
    You can also use GraphicConverter to find your duplicate photos.
    Powermac G5   Mac OS X (10.4.4)  

  • How can i find Duplicate Rows in forms6i

    Hi,
    How can i find duplicate rows in multiple record in forms6i.
    Thanks
    Raghu.K

    Oops, sorry for misreading your question. (However the SQL I gave you above is also very handy, and worth saving.)
    Okay, this is off the top of my head and untested, but might just work. Assuming that your data block name is MYBLOCK, and that the item that you want to check for dups on is named MYNUM, create an item-level WHEN-VALIDATE-ITEM trigger with the following code.
    declare
    l_newest_record number(10) := :system.cursor_record;
    l_newest_mynum number(10) := :myblock.mynum;
    l_dup_found boolean := false;
    begin
    -- In this loop, we skip backwards through all new records to look for dups.
    while :system.cursor_record > 1 loop
    previous_record;
    if :system.record_status = 'NEW' then
    if :myblock.mynum := l_newest_mynum then
    l_dup_found := true;
    exit; -- Dup found!
    end if;
    else
    exit; -- We've gone backwards past the first new record.
    end if;
    end loop;
    -- In this loop, we return to the current record.
    while :system.cursor_record < l_newest_record loop
    next_record;
    end loop;
    if l_dup_found then
    raise duplicate_row_found; -- user-defined exception
    end if;
    end;
    The above code only checks for dups in the new form records. It assumes that a unique constraint in the database will deal with records actually committed.
    Armand

  • Can't Find printer in printer list

    I'm using Adobe Reader 10.1.4 and can't get it to see the laser printer on the network.  Previous versions worked OK and Word sees it without a problem.  When I try to print a document the print screen shows firstly the default printer which is an inkjet connected via USB and when I click the drop-down all the printers are there except the laser on the network which I want to use.
    The printer has been deleted and re-installed several times, is shown on the printer list in the Control panel as being “ready” and works fine with other packages such as Word.  I have also deleted and downloaded Acrobat several times restarting the PC in between but still it can’t find that particular printer.
    If I take the file to another PC connected to the network it sees the prjnter and prints without a problem.
    I have heard that it is a known problem and that Acrobat has a fix.  Is this right?
    If not, could you suggest how it can be fixed without repeating the above which we have done many times without success.
    Regards,

    I just ran into this exact problem.  In my case, it isn't even a network printer - just a newly installed USB connected printer.  The old printer was uninstalled, and Reader still shows it on its list.  The new printer is installed and doesn't show up on the list.  Other utilties print to it just fine as well.  The printer just doesn't show up on Reader's printer list.  I installed Acrobat and had the same issue.
    Find a solution yet?  Thanks.

  • How can I find duplicates in Photos app?

    I have a lot of all images that I imported to my mac way back from my old iPhones into folders on my hard drive, I know that there's some duplicates in those folders. But I dragged in everything to the new Photos app to clean up all the mess and keep all my iPhone photos in the same place.
    Is there a way to find duplicated images in my library? Or any 3rd-party apps that can help me out?
    Thanks,
    Nichlas

    Not using Photos
    Duplicate Annihaliator for Photos and FatCat's PowerPhotos both will find duplicates
    LN

  • Where can i find a compiler error list

    Hi all,
    I am looking for a list with all the possible errors that a compiler can find in a program and of course the assosiated messages of the compiler, in order to change the messages of the compiler and make them more user friendly. Does anyone know where can a find something like that?
    Thanks in advance

    The best place to see the purchases made from an iTunes account is in the account information in the iTunes app on a Mac or PC. All iTunes and Mac App Store purchases are there, so I have to believe that all in-app purchases are there as well.

  • How can i find duplicates

    Is there an automated way to find duplicate photos?  My wife and I have thousands of pics and (maybe because I am ignorant) I can find any easy way to simply identify and delete duplicate photos and video clips.  HELP  Thank you.

    duplicate annihalitor
    LN

  • How can i find duplicate rows in a field of a table

    hi all,
    how can i able to find duplicate values in a field of a table????
    Regards

    test@ORA92>
    test@ORA92> with x as (
      2    select 1 as p, 'a' as q from dual union all
      3    select 1 as p, 'b' as q from dual union all
      4    select 2 as p, 'c' as q from dual union all
      5    select 3 as p, 'd' as q from dual union all
      6    select 3 as p, 'e' as q from dual union all
      7    select 3 as p, 'd' as q from dual
      8  )
      9  select p, q,
    10  case row_number() over (partition by p order by q)
    11    when 1 then null
    12    else 'Duplicate value: '||p||' of column p'
    13  end as msg
    14  from x;
             P Q MSG
             1 a
             1 b Duplicate value: 1 of column p
             2 c
             3 d
             3 d Duplicate value: 3 of column p
             3 e Duplicate value: 3 of column p
    6 rows selected.
    test@ORA92>
    test@ORA92>
    test@ORA92>cheers,
    pratz

  • Can Lightroom Find Duplicate Photos?

    Fellow Forum Members,
    Does the latest version of Lightroom have the capability to find duplicate photos?  I have a bunch of JPGs and no desire to go through all of them to find duplicates.  If Lightroom can not find duplicated,  can anyone out there please recommend an app that is good at finding duplicate photos or near duplicate photos.  Any help will be appreciated. Thanks.

    I cannot recommend "lightroom-plugins.com".  I purchased the software, tried the registration key and it still ran in demo mode.  After 48 hours, still no response from customer support.  The site appears to be inactive.
    I did find a free version:
    http://www.bungenstock.de/teekesselchen/
    I'm not sure how well it works, it is processing now.
    Good luck!

  • Chgd computers, now can't find the long, long list of streaming radio stations! I had no app before but now says "there is no app to open"

    On my old computer (last week) I'd been pulling up a long list of free streaming radio stations.  Now can't find it anywhere from ITunes. When I click on "Radio" it says "There is no app chosen for this".  I didn't need an app before, but evidently I need one now.  There are several apps. Can anyone tell me which I should choose - Pandora, IHeartRadio, TuneIn or what?
    I much appreciate any and all help. Thanks in advance!

    Build Info:
    Unknown-131030~0
    This indicates you had a bad install. You need to completely remove Office and reinstall using your new CD Key. See instructions here. Do not do the simple remove, Use the COMPLETELY REMOVE ALL FILES steps.
    http://www.officeformachelp.com/2012/12/office-for-mac-2011-remove-office/
    so I purchased a new Mincrosoft Office 2011 Student/Home Pin to install Microsoft Office.
    You don't purchase a PIN. A PIN is generated when you install Office. You need a CD Key. If you bought Office365, you activate online.
    I have issues with the Microsoft User Data - are there supposed to be two? and where exactly do they belon. They are in the Documents file at the moment.
    Unless you used Outlook or Entourage you can delete both Microsoft User Data folders. When you install Office it will create a new one. Only Outlook & Entourage used this folder for data. W,E,P stores it's data in the User's Library/Application Support/Microsoft folder now.
    For help with removing dulicatate fonts installed by Office see:
    Office 2011 Font Management with Mavericks

  • How can i find duplicate songs in itunes?

    Just downloaded iTunes 11.0 and can not find option to find duplicate songs.
    Where is that option now?

    MartinOfDenmark wrote:
    WE WANT STEVE BACK FROM THE DEAD!!!
    An just as many annoying innovations were done under his reign too.  Killing off all PPC software when it was supported perfectly well under Snow Leopard but abandoned to the annoyance of many with Lion.

  • Where can I find my DSDT in archlinux (SOLVED)

    Hello,
    I am looking for my DSDT but I can not find it.
    locate dsdt
    /lib/initcpio/install/dsdt
    /usr/src/linux-2.6.26-ARCH/include/config/acpi/custom/dsdt
    /usr/src/linux-2.6.26-ARCH/include/config/acpi/custom/dsdt/initrd.h
    Is initrd.h the compiled DSDT??? I don't think so. I whant to find it and do some error Checking / Fixing. But I can't do that if I can't find the DSDT. The Lenovo Ideapad's have a problem with the backlight and I think it has to do with a buggy DSDT. So I would like to try some stuff.
    I am reading this Gentoo WIKI for the most part...
    http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
    Last edited by hunterthomson (2008-08-16 03:07:30)

    Well, I guess that is it....
    You can also get it from other was check out this sight if you would like to know more...
    http://www.lesswatts.org/projects/acpi/ … ngDSDT.php

Maybe you are looking for