sed - trouble matching end of line

From: Kunkel, Mark (mckunkel_at_essvote.com)
Date: 10/30/03

  • Next message: Rahul Amaram: "problem with pine"
    To: "Redhat-List (E-mail)" <redhat-list@redhat.com>
    Date: Thu, 30 Oct 2003 16:17:06 -0600
    
    

    We are attempting to use sed to remove blank lines from a stream with:

    sed '/^[ ]*$/d'

    where the brackets contain a space and a tab. This works with cygwin, but
    not on RedHat 8.

    Both systems report the sed version as 3.02

    I have two questions.

    1.) Does anyone know that this has been corrected in a newer version of sed?

    2.) Does anyone know of another way to match end of line with sed?

    Mark Kunkel
    Election Systems & Software
    (815) 397 - 8144 phone
    (800) 800 - 8362

    (815) 397 - 4299 fax

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Rahul Amaram: "problem with pine"