cs50/style50

if no file extension, infer language from shebang, if any

dmalan opened this issue · 3 comments

if no file extension, infer language from shebang, if any

Maybe better to use libmagic, (what the file command uses)? It seems to be a bit more robust (and doesn't rely on file extension at all).

Aok! Any chance you can tackle this one today, @crossroads1112, in anticipation of pset6?

Sorry for the delay, but it is now implemented