Este contenido no está disponible en el idioma seleccionado.

1.155. sed


1.155.1. RHBA-2011:0397: sed bug fix update

An updated sed package that fixes two bugs is now available for Red Hat Enterprise Linux 5.
Sed is a stream or batch (non-interactive) editor. Sed takes text as input, performs an operation or set of operations on the text, and outputs the modified text.
This update fixes the following bugs:
* Due to an error in a symbolic link resolution, an attempt to use in-place substitution (that is, the "-i" command line option) with a symbolic link caused sed to fail with the following error:
sed: ck_follow_symlink: couldn't lstat [symbolic_link]/[original_file]: Not a directory
With this update, when a symbolic link is supplied, sed determines the original file path correctly. As a result, using the in-place substitution on symbolic links now works as expected. (BZ#490473)
* Previously, when an input stream contained a wide character that ended with U+005C (that is, the '\' character), sed failed to process it and reported a syntax error. This update applies an upstream patch that ensures the wide characters are now processed as expected. Additionally, this update also prevents sed from entering an infinite loop while handling incomplete string sequences. (BZ#527427)
All users of sed are advised to upgrade to this updated package, which fixes these bugs.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.