sed - trouble matching end of line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: sed - trouble matching end of line

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


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux