pt-mext and CRLF files problems

Reported by Frederic Descamps on 2011-08-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
Undecided
Unassigned

Bug Description

like aspersa mext, using a input file via cat won't work if this file was generated on Windows.

Version: trunk

$ pt-mext -r -- cat lefred.txt
awk: cmd. line:1: fatal: cannot open file `/tmp/mext_temp_file-1' for reading (No such file or directory)

$ file lefred.txt
lefred.txt: ASCII text, with CRLF line terminators

$ dos2unix lefred.txt
dos2unix: converting file lefred.txt to Unix format ...

$ pt-mext -r -- cat lefred.txt
Aborted_clients 49 0 0 0 0
Aborted_connects 6 0 0 0 0
[...]

Maybe it could be added to the docs of add a check ?

tags: added: pt-mext windows
Brian Fraser (fraserbn) on 2012-03-07
Changed in percona-toolkit:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers