aboutsummaryrefslogtreecommitdiff
path: root/marg.sh
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-24 16:27:18 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-24 16:27:18 +0100
commit0873e1f108c1e3122a854778df73c221b9609cf9 (patch)
tree5e34e96419d5fb6a16ad1f6021d1802985414d6d /marg.sh
parent5522f39034b45f8188f535bf38cb3e3f30cac072 (diff)
downloadacme-scripts-0873e1f108c1e3122a854778df73c221b9609cf9.tar.gz
acme-scripts-0873e1f108c1e3122a854778df73c221b9609cf9.zip
Move margin.sh to marg.sh
Diffstat (limited to 'marg.sh')
-rwxr-xr-xmarg.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/marg.sh b/marg.sh
new file mode 100755
index 0000000..47f1565
--- /dev/null
+++ b/marg.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -z $1 ]; then
+ M=80
+else
+ M=$1
+fi
+
+printf '%'$M's' "|"