Skip to content

Instantly share code, notes, and snippets.

@duhminick
Last active November 4, 2016 02:38
Show Gist options
  • Save duhminick/3e99f1272693fb605cd0a2a314938dfe to your computer and use it in GitHub Desktop.
Save duhminick/3e99f1272693fb605cd0a2a314938dfe to your computer and use it in GitHub Desktop.
#!/bin/bash
DATE=$(date +%D)
headerString="# File: $1"
headerString+="\n# Author: NAME HERE"
headerString+="\n# Date: $DATE"
headerString+="\n# Section: 16"
headerString+="\n# E-mail: EMAIL HERE"
headerString+="\n# Description: $2"
headerString+="\n# Collaboration: I did not collaborate with anyone on this assignment"
headerString+="\n\ndef main():\n\t\n\nmain()"
printf "$headerString" >> $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment