yshifeng41 / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

unprintable chars in repo manifest -r -o when used with unbuffer #220

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Affected Version:v1.12.33

Environment:
Linux version 3.0.101-0.7.29.1.8482.4.PTF-default (geeko@buildhost) (gcc 
version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP Tue May 5 
16:00:34 UTC 2015 ()

What steps will reproduce the problem?
1.unbuffer repo manifest -r -o /path/to/manifest.xml > & log2.txt
2.cat -A log2.txt

What is the expected output? What do you see instead?
Expected in log:
"Saved manifest to /path/to/manifest.xml"

Observed:
unprintable chars in log:
^[[?1h^[=^[[40;1H^[[KSaved manifest to /path/to/manifest.xml^M$
^[[40;1H^[[K^[[?1l^[>

Please provide any additional information below.
also, note that "Saved manifest to ..." goes to stderr for some reason...

Original issue reported on code.google.com by vladic...@gmail.com on 24 Apr 2016 at 10:43