script to get line numbers from files from the command line