> The perl man pages are pretty exhaustive. In fact, I don't think I've
> ever used anything else to learn the bit of perl I know.
> 
> I could try to translate this:
> 
>   perl
>     -p           loop over all line in the file
>     -e           use this expression
>     '            needed as the argument contains e.g. spaces
>      s           substitute
>      :           some delimiter
>      <space>word<space>  the thing to be replaced
>      :           same delimiter
>      \n\\emph on\n word \n\\emph default\n     the replacement
>      :           same delimiter
>      g           repeat if more than one instance
>     '            closing quote

Thanks Andre
I still have a question about the script you sent. The script worked for
words that do not precede periods or commas, but when there is a period
or comma immediately following the word, the script does not recognize
it and there is not italicization of the word. Is there a wildcard that
might be added after the word?
Beny



-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SP    CEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Reply via email to