aboutsummaryrefslogtreecommitdiff
path: root/shell_utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell_utils.sh')
-rw-r--r--shell_utils.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell_utils.sh b/shell_utils.sh
index 95e0d4e..30dfead 100644
--- a/shell_utils.sh
+++ b/shell_utils.sh
@@ -6,6 +6,12 @@
ENDL="
"
+# A "raw" echo, interprets neither backclash escapes nor command-line options.
+# Does not emit trailing newline.
+ech() {
+ printf %s "$*"
+}
+
errcho() {
echo "$@" >&2
}