aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-01 23:19:31 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-01 23:19:31 +0100
commit553ea9df7fee5a51bed06f2b3e8f317c521b5491 (patch)
tree76bb403ebd92c2f72e89fed6317780266a1df223 /src
parentdoc (diff)
downloadsplashtool-553ea9df7fee5a51bed06f2b3e8f317c521b5491.tar.gz
splashtool-553ea9df7fee5a51bed06f2b3e8f317c521b5491.tar.bz2
splashtool-553ea9df7fee5a51bed06f2b3e8f317c521b5491.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/splashtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/splashtool b/src/splashtool
index e7f317c..b88f4f5 100755
--- a/src/splashtool
+++ b/src/splashtool
@@ -111,7 +111,7 @@ ctrunc ()
# Add columns the left side
padl ()
{
- while read -r l; do printf "%${1}s%s\n" "" "${l}"; done
+ sed -e "s/^/$(printf "%${1}s" "")/"
}
# Colourise text