Issue report by David Smith
Product
FileMaker ProVersion
13Operating system version
Mac OSDescription of the issue
When exporting records to a tab delimited file, the records are separated by a \r not at \n. This means that the standard Mac tools (e.g awk, grep, sed, wc, etc.) can not correctly parse the file because there are no newlines in the file.Steps to reproduce the problem
export a set of records to filename.tab using Tab delimited and selecting "Macintosh" character set.type "wc -l filename.tab" in a terminal window
Expected result
you should get the number lines in the file (ie the number of records)Actual result
you get 0Workaround
perl -pi -e 's/\r/\n/g' < filename.tab > filename.tab.unixrunning the above in a terminal window will replace all of the \r with \n in the file, and then wc and other Unix command line tools will correctly parse the file.