parse all command and < >> > into a double linked list.