shell: dont't use malloc on each line
clean up shell
Merge pull request #241 from mehlis/shell

shell: don't use malloc on each line