Skip to content

Should newline characters at the end be removed or not? #1

@bombs-kim

Description

@bombs-kim

I decided to strip the newline characters at the end of standard input lines for lines variable. I think this is useful if you concatenate a line with another string or others.

For example,
ls | pythonp -e "l + '.jpg'"

If you think it's a bad idea, please write the reason why you think so.

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