diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-13 20:18:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-13 20:18:22 +1300 |
commit | e79e53c707145f7a7bdd4ae1049b4bc6dcbf28b7 (patch) | |
tree | 14daff1819711bd53ddf03a935717d7a3e9c2219 /bin/bl.awk | |
parent | Merge branch 'feature/ax-safety' into develop (diff) | |
download | dotfiles-e79e53c707145f7a7bdd4ae1049b4bc6dcbf28b7.tar.gz dotfiles-e79e53c707145f7a7bdd4ae1049b4bc6dcbf28b7.zip |
Reimplement bl(1df) in Awk
This is shorter and tidier.
Diffstat (limited to 'bin/bl.awk')
-rw-r--r-- | bin/bl.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bl.awk b/bin/bl.awk new file mode 100644 index 00000000..0be2fc6e --- /dev/null +++ b/bin/bl.awk @@ -0,0 +1,5 @@ +# Generate blank lines +BEGIN { + while (ARGV[1]--) + print "" +} |