Re: AS or Unix tools for turning find result into a nice consistent tab separated text file?
Re: AS or Unix tools for turning find result into a nice consistent tab separated text file?
- Subject: Re: AS or Unix tools for turning find result into a nice consistent tab separated text file?
- From: Emmanuel <email@hidden>
- Date: Sat, 10 Jun 2006 16:15:27 +0200
At 11:53 AM +0200 6/10/06, Richard Rönnbäck wrote:
I am trying to find the fastest possible way of getting information
for specific file types and turn it into a tab separated text file
for import to a database. After spending tens of hours or so banging
my head against regular expression etc. I am only a little bit
closer and nowhere near a full solution. Before I jump into looping
and treating each line with AppleScript (the find result may be up
to 100 000 lines long ) I would greatly appreciate some input and
good advice.
[...]
Can I at all achieve what I want with "simple" shell tools, or must
this be a Perl or Python script or something like that, or am I just
best of looping each line with AppleScript ??
The tools you use are very efficient, maybe you would like to know
also about the Satimage osax or Smile's text tools. Satimage osax
provides "find text" and "change" commands which implement the
regular expressions, sometimes they may be easier to handle than grep.
Also, whether your file uses LF or CR is important for selecting the
right tool.
Emmanuel
Satimage-software
<http://www.satimage-software.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden