index
:
acme-scripts.git
master
Scripts to use with acme editor
Alessandro Iezzi
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
marg.sh
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'marg.sh')
-rwxr-xr-x
marg.sh
9
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' "|"