是否有.NET库,这将给我在.NET环境中运行awk脚本的能力吗?我在、这将、脚本、能力

2023-09-06 05:32:55 作者:神秘嘉宾

我迁移某些功能关闭UNIX系统到微软堆栈。

I am migrating a some functionality off a unix system onto a Microsoft stack.

旧的系统利用awk脚本来格式化文件。

The old system makes use of awk scripts to reformat files.

有一个库(或其他机构),这将在.NET下运行,可以理解awk脚本?

Is there a library (or other mechanism) which will run under .NET and can understand the awk scripts?

推荐答案

您可以使用 AWK 附带的 cygwin的并使用的 的Process.Start

You could use the awk that comes with cygwin and invoke it using Process.Start.