summaryrefslogtreecommitdiff
path: root/functions/aliases.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/aliases.sh')
-rwxr-xr-xfunctions/aliases.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/functions/aliases.sh b/functions/aliases.sh
new file mode 100755
index 000000000..04efc24a7
--- /dev/null
+++ b/functions/aliases.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# aliases.sh - internal shell aliases
+# Copyright (C) 2006-2007 Daniel Baumann <daniel@debian.org>
+#
+# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+# This is free software, and you are welcome to redistribute it
+# under certain conditions; see COPYING for details.
+
+set -e
+
+Truncate ()
+{
+ for FILE in ${@}
+ do
+ : > ${FILE}
+ done
+}