Do manual do Gawk
patsplit(string, array, fieldpat, seps)Divide
stringinto pieces defined byfieldpatand store the pieces inarrayand the separator strings in thesepsarray.
É correto que
patsplit encontra as correspondências mais à esquerda, mais longas e não sobrepostas da expressão regular fieldpat na string string e armazena a
corresponde em array ?
As strings em seps são criadas removendo as strings em array de string ?
Do manual do Gawk
split(string, array, fieldsep, seps)Divide
stringinto pieces separated byfieldsepand store the pieces inarrayand the separator strings in thesepsarray.
É correto que
split encontra as correspondências mais à esquerda, mais longas e não sobrepostas da expressão regular fieldsep na string string e armazena a
corresponde em seps ?
As strings em array são aquelas criadas removendo as strings em seps de string ?
Obrigado