Skip to content

Commit

Permalink
Draw a ruler in the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Martinsson committed Sep 18, 2014
1 parent dbf7b38 commit 6a4550a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/zsh -f

char=${1:-=}
command printf %.s$char {1..$COLUMNS}

0 comments on commit 6a4550a

Please sign in to comment.