/sed-windows

Instructions for building sed.exe as a native windows application

sed-windows

Instructions for building Gnu Sed as a native windows application

All patches under the same license as sources of Gnu Sed: GPLv3 or later

Author of the patches: Michael M. Builov (mbuilov@gmail.com)

Fixed bugs:

  • wrong directory of input file in in-place editing mode ('-i' switch) (sed: cannot rename ./sed8JEw8l: Improper link)
  • new switch '-C' or '--ignore-locale' - forces Sed to use the standard "C" locale instead of the system one; this switch is most usable in binary mode, to avoid possible interpretation of input data as multi-byte encoded strings (depending on the system locale)
  • sources were fixed for correct processing of text files with Windows line endings if sed is built under CYGWIN

Pre-built executables:

Instructions how to create build patch

Prepared build patches

For x64/Windows7/VS17:

For x86/WindowsXP/VS9