The Wayback Machine - https://web.archive.org/web/20250518103533/https://github.com/uutils/coreutils/issues/2049
Skip to content

ptx: special char breaks it with "thread 'main' panicked at 'assertion failed: end <= s.len()', src/uu/ptx/src/ptx.rs:291:5" #2049

Closed
@sylvestre

Description

@sylvestre

With foo.txt containing:

it’s disabled

The char is key here

ptx -G foo.txt
thread 'main' panicked at 'assertion failed: end <= s.len()', src/uu/ptx/src/ptx.rs:291:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions