• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to find the manual (or at least the header)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find the manual (or at least the header)


  • Subject: Re: How to find the manual (or at least the header)
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 27 Jun 2005 22:49:08 +0200

Cameron,

On 27.6.2005, at 18:00, Cameron Hayne wrote:

# grepfind: to grep through files found by find, e.g. grepfind pattern '*.c'
grepfind () { find . -type f -name "$2" -print0 | xargs -0 grep "$1" ; }


It has the advantage over simple 'grep' that you don't need to know which sub-directory to target.

fgrep whatever **/*.[chm]

:)
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: How to find the manual (or at least the header) (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to find the manual (or at least the header) (From: Stephane Sudre <email@hidden>)
 >Re: How to find the manual (or at least the header) (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: Funny crash in on Tiger
  • Next by Date: Re: Convert PICT to NSImage
  • Previous by thread: Re: How to find the manual (or at least the header)
  • Next by thread: Re: How to find the manual (or at least the header)
  • Index(es):
    • Date
    • Thread