diff options
-rw-r--r-- | include/helper_show | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/helper_show b/include/helper_show index c6ca2dda..bc2b38b4 100644 --- a/include/helper_show +++ b/include/helper_show @@ -144,7 +144,7 @@ if [ $# -gt 0 ]; then if [ ! -z "${CHANGELOG}" ]; then SEARCH=$(egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}" ${CHANGELOG}) if [ $? -eq 0 ]; then - cat ${CHANGELOG} | while read -r LINE; do + while read -r LINE; do if [ ${STARTED} -eq 0 ]; then SEARCH=$(echo ${LINE} | egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}") if [ $? -eq 0 ]; then STARTED=1; ${ECHOCMD} "${BOLD}${LINE}${NORMAL}"; fi |