sed for Windows

sed: stream editor




Sed (streams editor) isn't really a true text editor or text processor. Instead, it is used to filter text, i.e., it takes text input and performs some operation (or set of operations) on it and outputs the modified text. Sed is typically used for extracting part of a file using pattern matching or substituting multiple occurances of a string within a file.

Version 1.4 is the fast, small sed originally distributed in the GNU toolkit and still distributed with Minix -- but it's still better for some uses (in particular, faster and less memory-intensive).

More information can be found in the docs provided with the package, and in




If you download the Setup program of the package, any requirements for running applications, such as dynamic link libraries (DLL's) from the dependencies as listed below under Requirements, are already included. If you download the package as Zip files, then you must download and install the dependencies zip file yourself. Developer files (header files and libraries) from other packages are however not included; so if you wish to develop your own applications, you must separately install the required packages.

DescriptionDownloadSizeLast changeMd5sum
• Complete package, except sources Setup  2038876 28 december 2010  d9cc0ee232603c1a0f8280fa2e6c100b
• Sources Setup  1417508 28 december 2010  029c531e742aa06727c0f56db4576e5c
• Binaries Zip  317930 28 december 2010  d94e045d98bcd3142bc3c665a5d82a84
• Documentation Zip  748650 27 december 2010  04ec1470695a1d622858fd6eba04eaea
• Sources Zip  1748229 27 december 2010  184b2516ef9e30b39fe4c07cdf87c089
• Dependencies Zip  833739 14 maart 2008  6b0997fa87158fff67457ec1eb96e332
• Original source

You can also download the files from the GnuWin files page, where you can also subscribe to new releases of this package.

Installation, Usage and Help

The GnuWin port of Sed has an additional option -b (--binary) for input and output in MS-Windows binary mode<>. The default is input and output in binary mode, so that all characters are copied verbatim; this is useful, for example, when editing files with Unicode characters or with embedded Ctl-Z symbols.

General Installation Instructions

GnuWin Help (feature requests, bugs, etc)


Requirements for running applications, excluding external ones such as msvcrt.dll, perl, etc, are included in the Setup program and the dependencies zip file.

sed,4.2.1,gnu,win32,win32s,win64,gnuwin32,x86,i386,i486,i586,i686,ia64,x64,x86_64, gnuwin64,gnuwin,mswindows,ms-windows,windows,95,98,me,nt,2000,2k,xp,2003,vista,2008,7