Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] UNIX heads; can I do this?



On 2007-06-14, at 12:16:23, Emmanuel wrote:

extractcolumn 3 from f -- uses Satimage osax

That's a canard Emmanuel,

Firstly you've casually omitted several paragraphs of AppleScript required to do the reads and writes.

This may me misleading. The line I wrote does read the file - no additional paragraphs are required - and it returns the result that the OP wanted to "get", which I think is pretty fair. Would the OP have written "I want to make one of the column into a new file",

Greetings Emmanuel,

Here's the line I replied to:

awk '{ FS = " " } ; {print $3}' b.txt > c.txt

so ok, it's only half a canard (demi-duck if you live near Moncton NB, semi-duck if you're a trucker on Route 66).



doing a "man -k xxx" is much more expedient than wading throught AppleScript dictionaries.

AppleScript has better dictionaries than it used to have. Now they may include arbitrary quantities of html, so we can hope they get better. Users of the latest versions of Smile say they appreciate that the dictionaries now include examples where needed.

I was not talking about the amount of information displayed. What I said is if you know what you want to do but not how, "man -k xxx" is more expedient in many cases. That's because the "standard" AppleScript facilities available in OS X are scattered across several applications and osaxen, and one has to open them and scan them manually. man -k is not the greatest, but there currently is no search mechanism that will scan sdefs for terminology and descriptions. So we have to resort to begging on lists like this or google.


TerminologySearch.osax?

Bienvenue,

Philip Aker
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Email Change because of SPAM... (Sorry for the RESEND) (From: Don Wieland <email@hidden>)
 >[OT] UNIX heads; can I do this? (From: Bill Briggs <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Emmanuel <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Bill Briggs <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Philip Aker <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Bill Briggs <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Emmanuel <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Philip Aker <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: Emmanuel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.