From aaa80dfd8a385c8b8c53398b03bf53a62c9e4645 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Fri, 16 Jun 2017 04:46:01 +0300 Subject: [PATCH] test: delete outdated fixtures/stdio-filter.js PR-URL: https://github.com/nodejs/node/pull/13712 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Alexey Orlenko Reviewed-By: James M Snell Reviewed-By: Gibson Fahnestock Reviewed-By: Brian White --- test/fixtures/stdio-filter.js | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/fixtures/stdio-filter.js diff --git a/test/fixtures/stdio-filter.js b/test/fixtures/stdio-filter.js deleted file mode 100644 index 583e3a3bd1b0db..00000000000000 --- a/test/fixtures/stdio-filter.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -const util = require('util'); - -var regexIn = process.argv[2]; -var replacement = process.argv[3]; -var re = new RegExp(regexIn, 'g'); -var stdin = process.openStdin(); - -stdin.on('data', function(data) { - data = data.toString(); - process.stdout.write(data.replace(re, replacement)); -});