tab-delimited file

baba

Registered
How does one go about generating a tab-delimited file from other formats, such as text or rich text or whatever?
 
I usually use Excel, but I see that you're Microsoft-free so perhaps that isn't an option.

I believe that AppleWorks will do this, if you happen to have that.

Otherwise, a slick little UNIX utility could be written in no time to process this. It'd be all of one line of code for sed (plain-text file containing "s/,/<press tab here>/g" without quotes, invoke with "sed -f script.txt infile.txt > outfile.txt"), and a handful of lines for Perl.
 
baba said:
How does one go about generating a tab-delimited file from other formats, such as text or rich text or whatever?
A tab-delimited file is a text file. The only distinction is that it generally has columnar data separated by tabs. Data may also be organized as comma separated values or space-delimited text. There are any number of applications that convert one type of delimitation to another. TextWrangler/BBEdit can wonderful things using regular expressions. You can also change delimits with MacOS X TextEdit, Microsoft Word, Microsoft Excel, or any number of other apps. However, few such apps can do this willy-nilly. You need preexisting knowledge of the underlying structure of the data in your files.
 
Back
Top