GNU sed 4.8 Is Released

From LinuxReviews
Jump to navigationJump to search

The GNU project has released a new major version of the sed stream editor after more than a year of development. The latest version has "s/many new exiting features/one noteworthy bug fix/g". sed -i will, as of the latest version, set the correct umask when files are saved.

written by 윤채경 (Yoon Chae-kyung)  2020-01-15 - last edited 2020-01-17. © CC BY

sed can be used to substitute a piece of text with some other text.

sed is a stream editor for filtering and transforming text. It can be used to change text strings in files and piped text. The first sed implementation was written in 1974 and the first GNU sed release appeared in 1989.

The GNU version of sed has been creating temporary files with the wrong umask when its -i (to edit files in place) option is used since version 4.2.1. This is a problem when sed is used on certain fuse file systems. GNU sed version 4.8 has a fix for that bug. And that's it, that's the only noteworthy change between GNU sed 4.7 and 4.8.

The GNU sed homepage is at The source for the latest version can be acquired from All the GNU/Linux distributions install sed as part of the base system. A comprehensive manual is available in the Texinfo format, you can read by typing info sed in a terminal.

(0 votes)

Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.