Search for text within a file?

Discussion in 'iMac' started by keltoid, Jan 1, 2009.

  1. keltoid macrumors newbie

    Joined:
    Jul 18, 2008
    #1
    How do you search for a text string WITHIN a file on the iMac?
     
  2. firestarter macrumors 603

    firestarter

    Joined:
    Dec 31, 2002
    Location:
    Green and pleasant land
    #2
    More details required... what are you trying to do?

    Most apps have a 'find' - open the doc in texedit/whatever and hit cmd-F

    Spotlight also indexes text in documents. cmd-space, then type the text you're looking for.

    If you want to do something a lot more advanced, I'd be thinking about using 'grep' on the command line.
     

Share This Page