Re: awk question
- From: Ed Morton <morton@xxxxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 15:32:07 -0600
On 11/27/2007 2:58 PM, Ted Davis wrote:
On Tue, 27 Nov 2007 18:51:28 +0000, loki harfagr wrote:
Though, in c.u.s. the same IP+pseudo posted about a
question about Solaris10 ps usage.
What's interesting is: it was posted a few hours after the
local spaghetto incident here so it should warm up Ed.s heart to see that
the OP at least learned to describe the platform OS, the exact line he
tried and the expected result.
Yeah, but he said he was using one "ps" then, when he was given the solution,
initially complained that some other "ps" that he wasn't using didn't support it!
He was a quick learner, in a way (for a fast intense lesson) :-)
I guess eventually he did thank the person trying to help him this time rather
than insulting them - that's a definite improvement.
Ah, so his real problem was that broken Solaris awk?
He never told us but the awk script he posted looked like it'd work even with
old, broken awk. The "solution" he seemed to be happy with looked like an old
Bourne shell syntax while the syntax he seemed to be going for, if it was UNIX,
appeared to be a C-shell derivative and it was the wrong way to do what he
appeared to be trying to do in any shell anyway so it's hard to guess what his
problem actually was but I THINK it was that he didn't know how to invoke an
external command from his shell and save that commands output in a shell
variable. He now knows how to do that, but he's using the wrong command and a
flawed syntax at best - oh well.....
Ed.
.
- References:
- awk question
- From: rvaede
- Re: awk question
- From: Kenny McCormack
- Re: awk question
- From: Ed Morton
- Re: awk question
- From: Ted Davis
- Re: awk question
- From: Kenny McCormack
- Re: awk question
- From: Ted Davis
- Re: awk question
- From: loki harfagr
- Re: awk question
- From: Ted Davis
- awk question
- Prev by Date: Re: Refer to field headings?
- Next by Date: Re: Refer to field headings?
- Previous by thread: Re: awk question
- Next by thread: Re: awk question
- Index(es):