sed - trouble matching end of line
From: Kunkel, Mark (mckunkel_at_essvote.com)
Date: 10/30/03
- Previous message: Nick Ferguson: "Offtopic Question"
- Next in thread: Matthew Galgoci: "Re: sed - trouble matching end of line"
- Reply: Matthew Galgoci: "Re: sed - trouble matching end of line"
- Reply: Cameron Simpson: "Re: sed - trouble matching end of line"
- Maybe reply: Kunkel, Mark: "RE: sed - trouble matching end of line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Nick Ferguson: "Offtopic Question"
- Next in thread: Matthew Galgoci: "Re: sed - trouble matching end of line"
- Reply: Matthew Galgoci: "Re: sed - trouble matching end of line"
- Reply: Cameron Simpson: "Re: sed - trouble matching end of line"
- Maybe reply: Kunkel, Mark: "RE: sed - trouble matching end of line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]