Change 'while' style (#3365)

This commit is contained in:
Casper 2023-05-26 01:39:39 +02:00 committed by GitHub
parent 37ca0f9ba9
commit c2d0b748b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 22 additions and 44 deletions

View file

@ -19,8 +19,7 @@ function _list_entries() {
_db_should_exist_with_content "${DATABASE}"
local ENTRY_TO_DISPLAY
while read -r LINE
do
while read -r LINE; do
ENTRY_TO_DISPLAY=$(_format_list_item "${LINE}")
echo -e "* ${ENTRY_TO_DISPLAY}\n"