From 966b778336478c8892736ef92cb5314327086e08 Mon Sep 17 00:00:00 2001 From: Sree Prasanth Jayaraj <52457238+Imissh3r@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:16:42 +0530 Subject: [PATCH] Rewrite challenge description for Exercise 6 (Streams, Pipes, and Lists) for clarity and correctness Rewrite challenge description for Exercise 6 (Streams, Pipes, and Lists) to improve readability and grammar. Clarified the behavior for each positional parameter and simplified phrasing for better understanding. No changes were made to the exercise logic or examples. --- exercises/streams_pipes_and_lists/problem.en.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/exercises/streams_pipes_and_lists/problem.en.md b/exercises/streams_pipes_and_lists/problem.en.md index 69786f4..c6564e5 100644 --- a/exercises/streams_pipes_and_lists/problem.en.md +++ b/exercises/streams_pipes_and_lists/problem.en.md @@ -94,7 +94,13 @@ The return code of _AND_ and _OR_ lists the exit status of the last executed com Create a file named `lists.bash`. -Using lists of commands (`&`, `&&`, `||` or `;`) output `First parameter is false.` if the first positional parameter is `false`, the path to the current directory if the second parameter is `true`; if third parameter is `true` output the list of files in the current directory or `Third parameter is false.` if it is `false`. +Your task is to use *lists of commands* (`&&`, `||`, and `;`) to control the program’s logic. + +The script should behave as follows: + +1. If the **first positional parameter** is `false`, output: `First parameter is false.` +2. If the **second positional parameter** is `true`, output the **path to the current directory**. +3. If the **third positional parameter** is `true`, output the **list of files** in the current directory. Otherwise, output: `Third parameter is false.` For example: