sed -i 's/&/&/g' soubor; sed -i 's//>/g' soubor sed 'N;s/\n/ /' soubor sed ':1;s/([^()]*)//g;t1;s/.*[()].*/ne/;t;s/.*/ano/' soubor