您知道 Windows 上的 wc(unix 字数统计命令)的类似程序吗? [英] Do you know a similar program for wc (unix word count command) on Windows?

查看:17
本文介绍了您知道 Windows 上的 wc(unix 字数统计命令)的类似程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

快速搜索给我 tawbaware wc,但它不接受标准输出作为输入流,这意味着我不能在 DOS 会话中使用管道.

A quick search gives me tawbaware wc, but it does not accept stdout as input stream, meaning I can not use pipe within a DOS session.

注意:

我无法安装 cygwin 或使用 powershell(这将允许 '|foreach-object {(get-content $_).count}')

I can not install cygwin or use powershell (which would have allowed a '|foreach-object {(get-content $_).count}')

unxutilsgnuwin32 软件包可能具有此功能...

unxutils and and gnuwin32 Packages might have this feature...

推荐答案

您可以使用为 Windows 构建的原始wc":它是 coreutils 包.获取最新的coreutils exe.

You can use the original "wc", built for windows: it is part of the coreutils package. Get the most recent coreutils exe.

这篇关于您知道 Windows 上的 wc(unix 字数统计命令)的类似程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆