Ignore empty lines in shm repl