#pri #kind #tag #file
Second group in parsing (kind) might have more than one non-space character.
Clear message "Last item!" if the element index in non-zero. It will keep the command line clean.