From add2fe104310e4261d9c4f9ffc92db4bd000e837 Mon Sep 17 00:00:00 2001 From: azamatamirzhan <52777027+azamatamirzhan@users.noreply.github.com> Date: Sat, 4 Apr 2020 19:10:23 +0600 Subject: [PATCH] Some examples doesn't work as it shown 1. echo -e "rra\npb\nsa\nrra\npa\n" gives: rra pb sa rra pa _ with one extra line (non needed) 2. ARG="4 67 3 87 23"; ./push_swap "$ARG" | wc -l gives only "6" (without spaces) --- subjects/push-swap/push-swap.en.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/push-swap/push-swap.en.md b/subjects/push-swap/push-swap.en.md index 1c01a5721..d569aa89a 100644 --- a/subjects/push-swap/push-swap.en.md +++ b/subjects/push-swap/push-swap.en.md @@ -127,13 +127,13 @@ pb KO student$ echo -e "rra\npb\nsa\n" | ./checker "3 2 one 0" Error -student$ echo -e "rra\npb\nsa\nrra\npa\n" +student$ echo -e "rra\npb\nsa\nrra\npa" rra pb sa rra pa -student$ echo -e "rra\npb\nsa\nrra\npa\n" | ./checker "3 2 1 0" +student$ echo -e "rra\npb\nsa\nrra\npa" | ./checker "3 2 1 0" OK student$ ./checker student$ @@ -151,7 +151,7 @@ student$ ```console student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | wc -l - 6 +6 student$ ARG="4 67 3 87 23"; ./push_swap "$ARG" | ./checker "$ARG" OK ```