Re: oddity with find -exec grep -i

From: Thomas Adam (thomas_adam16_at_yahoo.com)
Date: 10/31/04

  • Next message: Thomas Adam: "Re: mounting a local directory over another directory"
    Date: Sun, 31 Oct 2004 12:42:38 +0000 (GMT)
    To: Chris Evans <chris@psyctc.org>, debian-user@lists.debian.org
    
    

     --- Chris Evans <chris@psyctc.org> wrote:

    > #!/bin/bash
    > /usr/bin/find /usr/lib/ecartis/lists/ -name users -print \
    > -exec grep --ignore-case "$1" {} \; | grep -B 1 "$1"

    Odd, it works fine for me. Are you sure there is no other factor?

    -- Thomas Adam

    =====
    "The Linux Weekend Mechanic" -- http://linuxgazette.net
    "TAG Editor" -- http://linuxgazette.net

    "<shrug> We'll just save up your sins, Thomas, and punish
    you for all of them at once when you get better. The
    experience will probably kill you. :)"

     -- Benjamin A. Okopnik (Linux Gazette Technical Editor)

            
            
                    
    ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Thomas Adam: "Re: mounting a local directory over another directory"

    Relevant Pages