all repos — dotfiles @ 1fc82ba9aa5541347d2d6eb577186d3050850fce

linux dotfiles

new script
Prithu Goswami prithugoswami524@gmail.com
Mon, 28 Dec 2020 00:28:58 +0530
commit

1fc82ba9aa5541347d2d6eb577186d3050850fce

parent

02c2017a8e42f689454b14b9e0e986532838773c

1 files changed, 25 insertions(+), 0 deletions(-)

jump to
A bin/misc/insert_blanks.sh

@@ -0,0 +1,25 @@

+#!/bin/bash + +if [ $# -ne 2 ] +then + exit $E_BADARGS +else + + COMMSTR='' + SEQ="$1" + j="1-" + l="" + for i in $SEQ; + do + COMMSTR="$COMMSTR A$j$i B1 " + j=$(expr $i + 1) + j="$j-" + l=$i + done + l=$(expr $l + 1) + COMMSTR="$COMMSTR A$l-end" + + $(pdftk A=$2 B=blank_lttr.pdf cat $COMMSTR output 'mod_'$2) + # $(rm pageblanche.pdf && rm 'mod_'$1) + +fi