+
Skip to content

[RFE] always show buffer content on start when pattern specified via CLI matches nothing #135

@ryenus

Description

@ryenus

Version: less 580

Currently, in case the search pattern is passed via the command line options, and if there's no match, like the case with the following command:

echo abc | less +/d

In this case, upon starting, less doesn't show the buffer content, namely abc in this case, instead it only displays the error message:

Pattern not found (press RETURN)

It would be better that the buffer content is also made visible before the above error message is dismissed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载