From 568f905c51c89cddd774caa3650c3b6fba0a0c00 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 22 Oct 2008 20:08:56 +0100 Subject: Add utility to dump specified file to stdout. --- functions/echo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functions/echo.sh b/functions/echo.sh index c5ec7e5..e9573a8 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -79,3 +79,11 @@ Echo_breakage () Echo_message "${@}" } + +Echo_file () +{ + while read LINE + do + echo "${1}: ${LINE}" + done < "${1}" +} -- cgit v1.0