shell: dont't use malloc on each line

are 127 characters enough for every one?

strdup uses malloc, which may not be present in a useful fashion (oneway_malloc) for short life cycles of buffers