Skip to content

Remove trailing newline when STDOUT is piped #44

Description

@spenserblack

For example, I can use xcolor | xclip -selection clipboard to copy the color to the clipboard. Whenever I do this, it's copied with the trailing newline. So when I paste it into code, it's slightly annoying because I have to manually remove the newline. For example, if I was going to paste a selected color into a Markdown comment (#347d39) I wouldn't want the trailing newline.

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