@@ -25,7 +25,7 @@ package scala.sys {
25
25
*
26
26
* {{{
27
27
* import scala.sys.process._
28
- * "ls" #| "grep .scala" #&& Seq("sh", "-c", "scalac *.scala") #|| "echo nothing found" lines
28
+ * "ls" #| "grep .scala" #&& Seq("sh", "-c", "scalac *.scala") #|| "echo nothing found" lineStream
29
29
* }}}
30
30
*
31
31
* We describe below the general concepts and architecture of the package,
@@ -92,7 +92,7 @@ package scala.sys {
92
92
*
93
93
* - Return status of the process (`!` methods)
94
94
* - Output of the process as a `String` (`!!` methods)
95
- * - Continuous output of the process as a `Stream[String]` (`lines ` methods)
95
+ * - Continuous output of the process as a `Stream[String]` (`lineStream ` methods)
96
96
* - The `Process` representing it (`run` methods)
97
97
*
98
98
* Some simple examples of these methods:
@@ -109,7 +109,7 @@ package scala.sys {
109
109
* // a Stream[String]
110
110
* def sourceFilesAt(baseDir: String): Stream[String] = {
111
111
* val cmd = Seq("find", baseDir, "-name", "*.scala", "-type", "f")
112
- * cmd.lines
112
+ * cmd.lineStream
113
113
* }
114
114
* }}}
115
115
*
@@ -167,8 +167,8 @@ package scala.sys {
167
167
* def sourceFilesAt(baseDir: String): (Stream[String], StringBuffer) = {
168
168
* val buffer = new StringBuffer()
169
169
* val cmd = Seq("find", baseDir, "-name", "*.scala", "-type", "f")
170
- * val lines = cmd lines_ ! ProcessLogger(buffer append _)
171
- * (lines , buffer)
170
+ * val lineStream = cmd lineStream_ ! ProcessLogger(buffer append _)
171
+ * (lineStream , buffer)
172
172
* }
173
173
* }}}
174
174
*
0 commit comments