pythonp icon indicating copy to clipboard operation
pythonp copied to clipboard

Should newline characters at the end be removed or not?

Open bombs-kim opened this issue 7 years ago • 0 comments

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.

bombs-kim avatar Jan 11 '19 15:01 bombs-kim