Remove -e from echo in test. Non-portable

This commit is contained in:
Ryan Dahl committed 2010-11-16 10:48:38 -08:00
1 parent 299eda8a6c
commit 7590075ea7
1 file changed
+2 -2
@@ -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/']);