此内容没有您所选择的语言版本。

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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.