When pipelining the \echo -n command with the \grep command, the expected new line char is missing.
The issue does not appear in ADStudio 12 Beta 35, however it does appear in Beta 38 and the latest Beta 51.
Example of an expected behavior:
$ echo -n text | grep text
text
$
Example of the current behavior:
$ echo -n text | grep text
text$
Issue #7626 |
Closed |
Duplicate |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
1 issue link |
duplicates #7607
Issue #7607Should grep append new line char on its output when matched content doesn't end with new line? |