From: Jeffrey Goldberg on
On 2010-03-21 2:35 PM, Jolly Roger wrote:

> I've never cared enough about awk to bother, myself. I guess I'm lazy
> like that. : D

There was a time in my life when I was pretty good at awk. I'd written
some pretty nasty stuff using it. Now I can barely remember the basic
syntax.

-j


--
Jeffrey Goldberg http://goldmark.org/jeff/
I rarely read HTML or poorly quoting posts
Reply-To address is valid
From: David Empson on
nospam <nospam(a)nospam.invalid> wrote:

> In article <michelle-2B7F79.05435421032010(a)nothing.attdns.com>,
> Michelle Steiner <michelle(a)michelle.org> wrote:
>
> > > > > I'm just trying to give the guy some options for a force quit of all
> > > > > applications. CMD - Option - ESC is only available in 10.5 and 10.6.
> > > >
> > > > I believe that it is available in all versions of OS X.
> > >
> > > Are you sure that Select All is available? Not in Tiger on my
> > > machine though possibly I miss something here?
> >
> > Select All is not available, but shift-click is. So you can click on the
> > first item, shift-click on the last, and have all of them selected.
>
> not in the force-quit window it isn't, at least not in 10.4 or 10.5.

The shift-click method works in 10.6.

--
David Empson
dempson(a)actrix.gen.nz
From: Jeffrey Goldberg on
On 2010-03-21 9:02 PM, Lewis wrote:
> In message <80n8biFl01U1(a)mid.individual.net> Jeffrey
> <nobody(a)goldmark.org> wrote:

>> kill -9 `ps x | awk '$4 ~ /\/Applications/ {print $1}'`
>
> Erm, are you sure about that?`
>
> that ps command returns nothing on my machines.

Oops, that should be a "$5" instead of "$4" in the awk command. I
miscounted columns. (I thought I had tested this, but because I didn't
actually test with the "kill", I must have not copied and pasted what I
actually tested.

So I get (and this is pasted, so properly tested)


% echo kill -9 `ps x | awk '$5 ~ /\/Applications/ {print $1}'`
kill -9 68 234 238 240 357 362 368 369 370 371 372 376 379 536 779 785
817 864 2041 9256 12124 22197 28858 74761 74955 75636 80107
%

Cheers,

-j



--
Jeffrey Goldberg http://goldmark.org/jeff/
I rarely read HTML or poorly quoting posts
Reply-To address is valid
From: Nick Naym on
In article 80od7jFhh5U1(a)mid.individual.net, Jeffrey Goldberg at
nobody(a)goldmark.org wrote on 3/22/10 1:24 AM:

> On 2010-03-21 9:02 PM, Lewis wrote:
>> In message <80n8biFl01U1(a)mid.individual.net> Jeffrey
>> <nobody(a)goldmark.org> wrote:
>
>>> kill -9 `ps x | awk '$4 ~ /\/Applications/ {print $1}'`
>>
>> Erm, are you sure about that?`
>>
>> that ps command returns nothing on my machines.
>
> Oops, that should be a "$5" instead of "$4" ...


Inflation? ;)

--
iMac (27", 3.06 GHz Intel Core 2 Duo, 4 GB RAM, 1 TB HDD) � OS X (10.6.2)

From: Warren Oates on
In article <ho6mv0$kvt$1(a)news.eternal-september.org>,
John McWilliams <jpmcw(a)comcast.net> wrote:

> My Finder is quit at this very moment. I set it to be quit via Cmd-Q via
> Cocktail.
>
> Tres simple.

How do you get it back? And why would you want to quit it (as opposed to
relaunching)?
--
Very old woody beets will never cook tender.
-- Fannie Farmer