mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-23 06:02:12 +01:00
Cleaned up the loop
Otherwise, the loop just prints the words 'file' and 'found' on separate lines.
This commit is contained in:
parent
14821d424c
commit
6042b8814a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# To implement a for loop:
|
# To implement a for loop:
|
||||||
for file in `ls .`;
|
for file in `ls .`;
|
||||||
do echo 'file';
|
do
|
||||||
echo 'found';
|
echo $file found;
|
||||||
done
|
done
|
||||||
|
|
||||||
# To implement a case command:
|
# To implement a case command:
|
||||||
|
|
Loading…
Reference in a new issue