diff options
author | Mike Morearty <mike@morearty.com> | 2013-08-23 00:28:25 -0700 |
---|---|---|
committer | Mike Morearty <mike@morearty.com> | 2013-08-23 00:28:25 -0700 |
commit | 159baa268e5cc14b50bf29a40fff922e36dd7bc9 (patch) | |
tree | 2a201a576415006c079f626235b3be66d9892d6a /src/library | |
parent | b67fecd0f178ea70e4fa9823c408e52437426403 (diff) | |
download | scala-159baa268e5cc14b50bf29a40fff922e36dd7bc9.tar.gz scala-159baa268e5cc14b50bf29a40fff922e36dd7bc9.tar.bz2 scala-159baa268e5cc14b50bf29a40fff922e36dd7bc9.zip |
Fix typo in sample code in scaladoc for package scala.sys.process
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/sys/process/package.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/sys/process/package.scala b/src/library/scala/sys/process/package.scala index d68cd004f8..1340a6c415 100644 --- a/src/library/scala/sys/process/package.scala +++ b/src/library/scala/sys/process/package.scala @@ -151,7 +151,7 @@ package scala.sys { * * // An overly complex way of computing size of a compressed file * def gzFileSize(name: String) = { - * val cat = Seq("zcat", "name") + * val cat = Seq("zcat", name) * var count = 0 * def byteCounter(input: java.io.InputStream) = { * while(input.read() != -1) count += 1 |