Skip to content

Instantly share code, notes, and snippets.

@cmawhorter
Created March 10, 2013 01:03
Show Gist options
  • Save cmawhorter/5126609 to your computer and use it in GitHub Desktop.
Save cmawhorter/5126609 to your computer and use it in GitHub Desktop.
Simple shell script to output a number of blank lines. Defaults to 30.
#!/usr/bin/env bash
# usage: `spc` or `spc [number of lines]`
lines=${1:-30}
for ((i=1; i<=$lines; i++))
do
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment