On Wed, May 18, 2011 at 10:28:55PM +0200, Alan McKinnon wrote
The difference between bash and perl?
Perl was inspired by a linguist, who at least puts his foot down at
the truly crazy suggestions. Bash has no such thing.
Perl is a bloated mediocre operating system, complete with repo
On Tue, 17 May 2011 18:38:33 +0100, Stroller wrote:
Not addressed at you, specifically, but it rather seems like sed awk
are much under-appreciated these days. I'd guess that this may be due
to the changing nature of *nix users, but they seem to have gone out
of fashion. Aside from sed's
Apparently, though unproven, at 12:17 on Wednesday 18 May 2011, Neil Bothwick
did opine thusly:
On Tue, 17 May 2011 18:38:33 +0100, Stroller wrote:
Not addressed at you, specifically, but it rather seems like sed awk
are much under-appreciated these days. I'd guess that this may be due
On Wed, 18 May 2011 21:03:47 +0200, Alan McKinnon wrote:
They both have a steep initial learning curve, which leads to their
adoption being put off. I put awk in the same category as screen, one
of those programs that you hear people going on about for years, but
always manage to put off
Hi, Alan.
On Wed, May 18, 2011 at 09:03:47PM +0200, Alan McKinnon wrote:
Apparently, though unproven, at 12:17 on Wednesday 18 May 2011, Neil Bothwick
did opine thusly:
On Tue, 17 May 2011 18:38:33 +0100, Stroller wrote:
Not addressed at you, specifically, but it rather seems like sed
Apparently, though unproven, at 22:15 on Wednesday 18 May 2011, Alan Mackenzie
did opine thusly:
Hi, Alan.
On Wed, May 18, 2011 at 09:03:47PM +0200, Alan McKinnon wrote:
Apparently, though unproven, at 12:17 on Wednesday 18 May 2011, Neil
Bothwick
did opine thusly:
On Tue, 17 May
On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip |
\ awk '{print $1}' | sort | uniq | wc
In true grand Unix tradition you cannot get quicker, dirtier or more
effective than that
awk does pattern matching, o you can
On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote:
On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip |
\ awk '{print $1}' | sort | uniq | wc
In true grand Unix tradition you cannot get quicker, dirtier or more
On Tue, May 17, 2011 at 5:43 AM, Pandu Poluan pa...@poluan.info wrote:
On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote:
On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip |
\ awk '{print $1}' | sort | uniq | wc
In
Juan Diego Tascón writes:
I have always wondered if there is a way to do awk '{ print $1}' using
only builtin bash functions when you only have a one line string
str=one two five
# remove all from the first blank on, but will not work with
# other whitespace
echo ${str%% *}
or
# set $1, $2,
On Tue, May 17, 2011 at 8:36 AM, Alex Schuster wo...@wonkology.org wrote:
Juan Diego Tascón writes:
I have always wondered if there is a way to do awk '{ print $1}' using
only builtin bash functions when you only have a one line string
str=one two five
# remove all from the first blank on,
On 2011-05-17, Alex Schuster wo...@wonkology.org wrote:
Juan Diego Tascón writes:
I have always wondered if there is a way to do awk '{ print $1}' using
only builtin bash functions when you only have a one line string
str=one two five
# remove all from the first blank on, but will not work
Hello,
On Tue, 17 May 2011, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \
awk '{print $1}' | sort | uniq | wc
useless use of ...
awk '/GET \/Tmp\/Linux\/G/{ips[$1]++;}END{print length(ips);}' \
/var/log/apache2/access_log
I add each access to
On 17/5/2011, at 11:43am, Pandu Poluan wrote:
On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote:
On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip |
\ awk '{print $1}' | sort | uniq | wc
...
awk does pattern
After attempting to install for the first time last week, I started 3
different threads here looking for help. I'm pleased with the nature of the
responses, and being able to succeed eventually using a mix of those
responses and my own efforts digging into Google, gentoo.org and cranial
Apparently, though unproven, at 01:10 on Tuesday 17 May 2011, Felix Miata did
opine thusly:
After attempting to install for the first time last week, I started 3
different threads here looking for help. I'm pleased with the nature of the
responses, and being able to succeed eventually using a
On Tue, May 17, 2011 at 01:33:39AM +0200, Alan McKinnon wrote:
grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \
awk '{print $1}' | sort | uniq | wc
In true grand Unix tradition you cannot get quicker, dirtier or more
effective
than that
You can replace sort | uniq
17 matches
Mail list logo