cheerleone/yget — pull request #1 by OblongOrange (2013-11-15 19:04:10+00:00)
Title: Check_If_Running fix, additon of Create_Output_Format function

So if you look through my commits, you may notice that I was starting to lead myself astray with the ps command and the detection between "man youtube-dl" and "youtube-dl URL", until I finally decided to look at "man ps" and found the -c option, which displays the command only and no parameters, a far better solution (no need for "grep -v grep" either).

I also added the Create_Output_Format function which provides the filename format for youtube-dl. Will no longer detect "man youtube-dl" as if it was a youtube-dl process.