On Wed, May 22, 2002 at 09:19:36PM +0200, MaX wrote: > meglio ancora.... :) > > il file in questione é una specie di .po > formato cosí: > > #TextItem> > #Description></Description> > #Position>28#/Position> > #TranslationSet> > > msgid "(You can add your own categories to the list > or remove categories you've added.)" > msgstr "(Vous pouvez soit ajouter vos propres catégories, > soit supprimer certaines de ces dernières.)" > > #/TranslationSet> > #/TextItem> > > #TextItem> > #Description></Description> > #Position>30#/Position> > #TranslationSet> > > (non ti preoccupare dei problemi di conversione dei caratteri accentati) > > dovrebbe risultare cosí: > > #TextItem> > #Description></Description> > #Position>28#/Position> > #TranslationSet> > > msgid "(You can add your own categories to the list\nor remove categories > you've added.)" > msgstr "(Vous pouvez soit ajouter vos propres catégories,\nsoit supprimer > certaines de ces dernières.)" Quindi se le righe NON iniziano con " puoi fare cosi`: #!/bin/sed -f /".*[^"]$/{ N s/\n/\\n/ }
cioe`, nella RE, non chiedi una riga che inizi con " e non finisca con " ma solo che contenga un " e non finisca con un " . :) /dev/null -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]