adding link support to parse_ls_string