Fixed read to prevent mangling backslashes
This commit is contained in:
parent
ff77585d33
commit
b8803ef332
@ -19,7 +19,7 @@ $ title='My Restaurant Randomizer';
|
|||||||
<p>From the following restaurants:</p>
|
<p>From the following restaurants:</p>
|
||||||
<ul>
|
<ul>
|
||||||
# Loop through restaurants and display each one
|
# Loop through restaurants and display each one
|
||||||
$ while read restaurant; do
|
$ while read -r restaurant; do
|
||||||
<li><% $restaurant %></li>
|
<li><% $restaurant %></li>
|
||||||
$ done <restaurants.txt
|
$ done <restaurants.txt
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user