Some changes and more scripts.

This commit is contained in:
Howland Owl 2016-07-12 14:33:09 +03:00
parent ed35a29f4f
commit 1b4a994236
7 changed files with 583 additions and 15 deletions

1
ruler Normal file
View file

@ -0,0 +1 @@
ruler() { for s in '....^....|' '1234567890'; do w=${#s}; str=$( for (( i=1; $i<=$((($COLUMNS + $w) / $w )) ; i=$i+1 )); do echo -n $s; done ); str=$(echo $str | cut -c -$COLUMNS) ; echo $str; done; }