Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove -e from echo in test. Non-portable

  • Loading branch information...
commit 7590075ea712e4ff830385fbf610d83b450b170f 1 parent 299eda8
ry ry authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/simple/test-child-process-double-pipe.js
4 test/simple/test-child-process-double-pipe.js
View
@@ -3,10 +3,10 @@ var assert = require('assert'),
spawn = require('child_process').spawn;
// We're trying to reproduce:
-// $ echo -e "hello\nnode\nand\nworld" | grep o | sed s/o/a/
+// $ echo "hello\nnode\nand\nworld" | grep o | sed s/o/a/
var
- echo = spawn('echo', ['-e', 'hello\nnode\nand\nworld\n']),
+ echo = spawn('echo', ['hello\nnode\nand\nworld\n']),
grep = spawn('grep', ['o']),
sed = spawn('sed', ['s/o/O/']);
Please sign in to comment.
Something went wrong with that request. Please try again.