Clean up the coding style
Ignore temporary test files
Remove the last "\n" from result
Do not prefix '$' for a variable name