1
0
mirror of https://github.com/danog/learn-bash.git synced 2024-11-26 11:54:39 +01:00

Corrected second lesson.

This commit is contained in:
Daniil Gentili 2015-05-30 18:19:34 +02:00
parent 0c121e0550
commit 103f6413fd

View File

@ -220,11 +220,8 @@ until [ "$try" = "y" ]; do
Task:
Create a script named first_script.sh that prints
\"Hello World! :)\"
(with the quotes) when you execute it
(type exit when you're done,
r to repeat the lesson and
s to skip the exercise.)
using vi, nano or echo."
(with the quotes) when you execute it. Use vi, nano or echo, type exit when you're done,
r to repeat the lesson and s to skip the exercise."
bash
./first_script.sh 2>&1 | grep -q "^\"Hello World! :)\"$" && try=y && ./first_script.sh || try=n
clear