[FUG-BR] Problemas/diferenças entre sed BSD e sed Linux

Wanderson Tinti wanderson em bsd.com.br
Quinta Novembro 26 21:28:43 BRST 2009


2009/11/24 Luiz Gustavo <luizgustavo em luizgustavo.pro.br>

> Pablo Sánchez wrote:
> > Caros,
> >
> > :-/ Chato né? O arquivo em questão está em UTF-8. Seria essa a causa
> > do problema? Tem um bug reportado na man page no que tange a
> > multibyte. Qualquer ajuda é válida.
> >
> > Um abc
> >
>
> A sua solução !!!
>
> %cd /usr/ports/textproc/gsed
> %cat pkg-descr
> The Free Software Foundation's "sed" stream editor.
>
> This utility exists in the FreeBSD base collection, but the GNU
> versions have added functionality that is sometimes useful.
>
> Note that this port will install this utility with a `g' prefix,
> for example gsed, but the texinfo documentation will refer to these
> utilities without the `g' prefix.
>
> WWW: http://www.gnu.org/software/sed/sed.html
>

Rapaz, tive que reescrever 20% de um código pra funcionar legal, seu eu
soubesse do gsed teria poupado um bom tempo. Agora está registrado.

Boa noite.


Mais detalhes sobre a lista de discussão freebsd