5

Is there a .NET port of the SED stream editor? Ideally it would be open source, but at this stage I'm not ruling anything out.

I have googled for this already without any obvious hits, so the secondary question here is: How hard would it be to create one?

I assume the sources for SED are in C. If the answer to my primary question is No, I would appreciate pointers/strategies for porting such a project to C#.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Dominic Cronin
  • 6,062
  • 2
  • 23
  • 56

1 Answers1

4

Use a mingw build including sed from msys, build a dll, then call the dll from C#.

The gnuwin32 project includes a sed port and a minised.

References

Community
  • 1
  • 1
Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
  • Thanks Paul. I think it's clear that no-one knows of any existing ports. What you have proposed looks like a viable strategy. – Dominic Cronin Feb 16 '12 at 11:43