-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
I'd expect rich --print
to always preserve the lines of the input file. However rich --print
always seems to add a newline. It would be great if no newlines were added during rich --print
. I'd also recommend the addition of a -n
flag that works like the same flag in echo
to remove automatic line endings.
> echo -n | wc -l
0
> echo | wc -l
1
> echo -n | rich - --print | wc -l
1
> echo | rich - --print | wc -l
2
> echo -n | rich - --print --soft | wc -l
1
> echo | rich - --print --soft | wc -l
2
Metadata
Metadata
Assignees
Labels
No labels