Skip to content
This repository
Browse code

Remove -e from echo in test. Non-portable

  • Loading branch information...
commit 7590075ea712e4ff830385fbf610d83b450b170f 1 parent 299eda8
ry ry authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 test/simple/test-child-process-double-pipe.js
4 test/simple/test-child-process-double-pipe.js
@@ -3,10 +3,10 @@ var assert = require('assert'),
3 3 spawn = require('child_process').spawn;
4 4
5 5 // We're trying to reproduce:
6   -// $ echo -e "hello\nnode\nand\nworld" | grep o | sed s/o/a/
  6 +// $ echo "hello\nnode\nand\nworld" | grep o | sed s/o/a/
7 7
8 8 var
9   - echo = spawn('echo', ['-e', 'hello\nnode\nand\nworld\n']),
  9 + echo = spawn('echo', ['hello\nnode\nand\nworld\n']),
10 10 grep = spawn('grep', ['o']),
11 11 sed = spawn('sed', ['s/o/O/']);
12 12

0 comments on commit 7590075

Please sign in to comment.
Something went wrong with that request. Please try again.