Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove -e from echo in test. Non-portable

  • Loading branch information...
commit 06267f4d8d61d306e8bd6add207b661591fb31ea 1 parent d236430
@ry ry authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/simple/test-child-process-double-pipe.js
View
4 test/simple/test-child-process-double-pipe.js
@@ -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.