[ale] Get host's IP address as an unprivileged user?
Geoffrey Myers
lists at serioustechnology.com
Wed Jun 8 10:11:02 EDT 2011
Derek Atkins wrote:
> Richard Bronosky <Richard at Bronosky.com> writes:
>
>> Thanks Geoffrey. A little piece of me dies every time I see some one
>> pipe [almost] any combination of grep | sed | awk | tr | cut
>
> I admit that 'awk' is just one of those tools I never completely groked.
> I learned enough to use it to print out the Nth field, but that's really
> all I know how to do with it, which is why I use the other tools.
I once used awk to build a language pre-processor, so I have used it
extensively. Gotten a little rusty of late though, from disuse.
>
> Besides, that's the whole point of Unix -- you have lots of small tools
> that each do one thing well, and then you string them together to make
> the functionality you want!
True, but reducing the number of processes is always good.
>
> -derek
>
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson
More information about the Ale
mailing list