Skip to content

Instantly share code, notes, and snippets.

@chorn
Created June 15, 2011 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chorn/1027040 to your computer and use it in GitHub Desktop.
Save chorn/1027040 to your computer and use it in GitHub Desktop.
#!/bin/bash
date_range() {
# Output list of dates from $1 to $2
}
for d in $(date_range 2011-01-01 2011-02-01) ; do
my_command $d
done
Copy link

ghost commented Jun 15, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment