The coproc keyword
来源:互联网 发布:matlab数据相关性分析 编辑:程序博客网 时间:2024/04/30 15:02
http://wiki.bash-hackers.org/syntax/keywords/coproc
http://unix.stackexchange.com/questions/18886/why-is-while-ifs-read-used-so-often-instead-of-ifs-while-read
A coprocess' file descriptors are accessible only to the process from which the coproc
was started.
coprocess 生成 的 fd ,仅能 在运行 coproce 的 shell内 进行访问。
$ coproc awk '{print "foo" $0;fflush()}'[2] 23100$ while IFS= read -ru ${COPROC[0]} x; do printf '%s\n' "$x"; done & # 这里会出错,这个子进程 不是运行 coproce 的 shell。[3] 23104
- The coproc keyword
- The explicit Keyword
- About the keyword Synchronized
- The const keyword
- The 'this' keyword
- The Java synchronized keyword
- The instanceof Keyword
- The instance of keyword
- The cregister Keyword
- CoProc.au3
- coproc命令
- native, The Keyword Of Java
- the this keyword in javascript
- Using the C "volatile" Keyword
- the usage of keyword const
- The volatile keyword in Java
- Introduction to the Volatile Keyword
- Day3-10.The static keyword
- Java中文简单排序
- NSTimer
- android UI设计的一些心得与问题解决
- SQL Server 将表中数据,转化成SQL Insert语句
- [Android源码分析]蓝牙打开分析--苦尽甘来之再次回到jni之上
- The coproc keyword
- 基于Hadoop 2.2.0的高可用性集群搭建步骤(64位)
- 使用paint画图应加上super.paint(g)
- 让SQL server中有两个相同的数据库,这里只是内容是一样的,但文件名不一样
- XIP
- LINUX中断机制与信号(http://linux.chinaitlab.com/soft/878170.html)
- 大数据时代下的我们
- [龟秀]WC CB CH爬宠个体 名字解释
- freemarker教程