Bug 2749

Summary: 'script' applet outputs extra symbols
Product: Busybox Reporter: Alexander <subaparts>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal CC: busybox-cvs, subaparts
Priority: P5    
Version: 1.17.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

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