codice:
sed 's/[^ \t]*\.segd/\n\0/g' input.txt > output.txt