pt-mext and CRLF files problems
Bug #828621 reported by
Frederic Descamps
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Confirmed
|
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_
$ 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 |
Changed in percona-toolkit: | |
status: | New → Confirmed |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-872