From 0c8f49c535049119d285c9676d1e68fdb07811ce Mon Sep 17 00:00:00 2001 From: anseki Date: Sun, 29 Jun 2014 17:41:12 +0900 Subject: [PATCH] Change `echo` to `printf` (read.sh) --- lib/read.sh | 2 +- lib/readline-sync.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/read.sh b/lib/read.sh index 812e663..d26e4ed 100644 --- a/lib/read.sh +++ b/lib/read.sh @@ -1,3 +1,3 @@ read LINE %Q%' + pathStdout + - '%Q% & (ECHO !ERRORLEVEL!)>%Q%' + pathStatus + '%Q% & (ECHO 1)>%Q%' + pathDone + '%Q%']; + '%Q% & (echo !ERRORLEVEL!)>%Q%' + pathStatus + '%Q% & (echo 1)>%Q%' + pathDone + '%Q%']; } else { shellPath = '/bin/sh'; args = ['-c', '(' + shellPath + ' "' + __dirname + '/read.sh") >"' + pathStdout + diff --git a/package.json b/package.json index f3653b4..817ae6a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "readline-sync", "description": "Synchronous Readline", - "version": "0.2.4", + "version": "0.2.5", "homepage": "https://github.com/anseki/readline-sync", "author": { "name": "anseki"