Bug 2749 - 'script' applet outputs extra symbols
Summary: 'script' applet outputs extra symbols
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.17.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 21:36 UTC by Alexander
Modified: 2017-08-06 23:54 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2010-10-28 21:36:49 UTC
The example of test command:
script -q -c 'echo -e -n "1\n2\n3\n"' /dev/null </dev/null > 123.txt

The output file on full-blown ubuntu system contains 6 bytes.
Output on Busybox system (arm-linux) contains extra '\r' byte in each line.
Comment 1 Denys Vlasenko 2017-08-06 23:54:42 UTC
Can't reproduce: util-linux-2.28 also has '\r' bytes in 123.txt