Skip to content

tail +1c doesn't work when stdin is from terminal #499

Open
@falsifian

Description

@falsifian

Running in xterm:

falsifian moth ~ $ 9 tail +1c
hello
hello
falsifian moth ~ $ echo hello | 9 tail +1c
ello

For some reason, in the first case, it's not skipping the "h". The effect is similar with numbers other than 1.

This is plan9port-20210323 from OpenBSD ports, which should be at commit 88a87fa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions