We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
这是 BSD 代码,而不是 Linux 代码。
http://www.pell .portland.or.us/~orc/Code/bsd/bsd-current/tee/tee.c
It's BSD, not Linux, code.
http://www.pell.portland.or.us/~orc/Code/bsd/bsd-current/tee/tee.c
http://www.ss64.com/osx/
http://www.ss64.com/osx/
你的意思是,可执行文件在哪里? 如果这就是您要问的,那么它位于
/usr/bin/tee
。 您可以使用which
实用程序找到路径中的任何命令。 它将打印出命令的完整路径。 例如:如果您询问实际的源代码,这里已经有许多答案,可以为您提供 Apple 源代码的链接。 这些实用程序本身分为多个包,并且没有真正的索引,因此您必须浏览名称并检查听起来可能包含任何给定实用程序的源代码的包。
Do you mean, where is the executable? If that's what you're asking, it's at
/usr/bin/tee
. You can locate any command in your path by using thewhich
utility. It will print out the full path to the command. For example:If you're asking about the actual source code, a number of answers are already here that provide you with links to Apple's source code. The utilities themselves are split amongst a number of packages and there's no real index, so you'll have to browse the names and check packages that sound like they might contain the source for any given utility.
下面是Apple的unix的源代码:
http://developer.apple.com/Darwin/
如果是最新的是您的 Mac 使用的确切代码。
Here is the source code of Apple's unix:
http://developer.apple.com/Darwin/
If it is up-to-date this is the exact code that your mac uses.
我想你所说的“代码”是指源代码,对吗? 请参阅那里
编辑:我看到问题已经变得更加精确。
准确查看“普通”BSD 代码 这里因为需要Apple开发者登录(免费)才能浏览他们的代码。
By "code", I guess you mean source code, right? See there
EDIT: I see the question has been made more precise.
See exactly in the "plain" BSD code here as a Apple Developer login (free) is required to browse their code.