From d085828883bf000d29e5090ccfdcd40a1771570a Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Wed, 4 Nov 2020 16:08:34 +0900 Subject: [PATCH] Update README.md * Added -e option to make the echo command work on both Mac and Ubuntu. (#1) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03a47e7..3178035 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ ruby -r numo/narray -e "puts Numo::DFloat.new(1000).rand_norm.to_a" \ ```sh -echo "from numpy import random;" \ - "n = random.randn(10000);" \ - "print('\\\n'.join(str(i) for i in n))" \ +echo -e "from numpy import random;" \ + "n = random.randn(10000);" \ + "print('\\\n'.join(str(i) for i in n))" \ | python \ | uplot hist --nbins 20 ```