From: thermate <thermate_911@india.com>
To: help-gnu-emacs@gnu.org
Subject: Re: uniq without sort <-------------- GURU NEEDED
Date: Mon, 28 Jan 2008 08:51:36 -0800 (PST) [thread overview]
Message-ID: <6d2c7772-dab4-4f5a-94df-85f241fe3347@j78g2000hsd.googlegroups.com> (raw)
In-Reply-To: 5462c3ef-cb53-40d8-8a96-bbf624408300@v4g2000hsf.googlegroups.com
On Jan 26, 6:35 pm, gnuist...@gmail.com wrote:
> cat input|awk '!_[$0]++' <---- I am interested in understanding
> this and other one liners.
I show you equivalences line by line with reason for each equivalence
in comment
uniq without sort - a one liner w/o any pipes - based on associative
array or symbol-value-table
-----------------
NOTE: In tcsh each instance of NOT or ! must be replaced by \! ie,
escaped.
#
echo -e "a\nc\nd\nb\nc\nd\nc" | # the
input data
awk ' ! count [ $0 ] ++ ' <=> # print $0
is the default action
awk '!_[$0]++' <=> # _ is
cryptic name of associativ array
awk ' !_[$0]++ { print $0 } ' <=> # pattern
action or true action
awk ' /.*/ { if ( !_[$0]++ ) { print $0 } } ' <=> # /.*/ is
any pattern, but not /*/
awk ' /.*/ { if ( !_[$0]++ != 0 ) { print $0 } } ' <=> # like C
zero is the only false in awk
awk ' /.*/ { if ( _[$0]++ == 0 ) { print $0 } } ' <=> ## NOTE
all /.*/ can be omitted everywhere
awk ' /.*/ { if ( ++_[$0] == 1 ) { print $0 } } ' <=>
awk ' { _[$0]++ ; if ( _[$0] == 1 ){ print $0 } } ' <=> # omitting
default pattern /.*/
awk ' /.*/ { a[$0]++ ; if ( a[$0] == 1 ){ print $0 } } ' #
associative array a[index] where
# index is
the line and value is the
# count.
only if count==1 then print.
perl -ne ' if ( ! $count{ $_ } ++ ){ print $_ } ' # perl has
$count{} and $_ and does not
# assume
pattern, so no outer {}
Now some lesson on history:
First the speech by Mr Benjamin H Freedman at http://iamthewitness.com
??? Understanding the MOTIVE FORCE of World History from horse's
mouth
itself - Mr. Benjamin H Friedman was a GENIUS ???
Full Article: http://iamthewitness.com/FreedmanFactsAreFacts.html
<-------- KEY DOCUMENT
Steamy Excerpts:
Will you be patient with me while I review here as briefly as I can
the history of that political emergence and disappearance of a nation
from the pages of history?
In the year 1948 in the Pentagon in Washington I addressed a large
assembly of the highest ranking officers of the United States Army
principally in the G2 branch of Military Intelligence on the highly
explosive geopolitical situation in eastern Europe and the Middle
East. Then as now that area of the world was a potential threat to
the
peace of the world and to the security of this nation I explained to
them fully the origin of the Khazars and Khazar Kingdom. I felt then
as I feel now that without a clear and comprehensive knowledge of
that
subject it is not possible to understand or to evaluate properly what
has been taking place in the world since 1917, the year of the
Bolshevik revolution in Russia. It is the "key" to that problem.
Upon the conclusion of my talk a very alert Lieutenant Colonel
present
at the meeting informed me that he was the head of the history
department of one of the largest and highest scholastic rated
institutions of higher education in the United States. He had taught
history there for 16 years. He had recently been called back to
Washington for further military service. To my astonishment he
informed me that he had never in all his career as a history teachers
or otherwise heard the word "khazar" before he heard me mention it
there. That must give you some idea, my dear Dr. Goldstein, of how
successful that mysterious secret power was with their plot to "block
out" the origin and the history of the Khazars and Khazar Kingdom in
order to conceal from the world and particularly Christians the true
origin and the history of the so-called or self- styled "Jews" in
eastern Europe.
FBI bastards, where is the anthrax mailer ?????
Using full names and fake telephone nos or addressses to get our
trust, names from France, Germany, Italy, finland and other
countries,
yank bastards from the 911 controlled demolition group, which spread
lies and disinformation right on and after 911 is doing their evil
work of sabotaging useful discussions on the internet.
These corporatist evil ones believe in DIVIDING us.
They are EVIL BASTARDS.
FBI never caught the anthrax mailer with fake letter and military
grade anthrax because that was one of these yank bastards they were
afraid to catch.
please click on my profile under google groups to see videos about
these yank bastards.
these bastards use multiple nicks to deceive you.
subtle derailment of threads, casting aspersions is their
methodology.
watch alex jones "terror storm" and other videos to learn what these
evil bastards are upto and how they have perfected psychological
techniques to manipulate you.
On newsgroups there one and only one goal is to divide people and
make
them slave to corporations.
Subject: Re: RACIST YANK BASTARDS FROM 911 CONTROLLED DEMOLITION GROUP
SABOTAGING INFORMATIVE THREADS
subtle derailment of threads, by casting aspersions is their
methodology, using multiple nicks with fake identities, using
sophisticated software and a network of proxies and remailers
including TOR is their methodology. please watch alex jones video
terror storm and see how these bastards using techniques by Edward
Bernays who was Freud's nephew.
subtle derailment of threads, by casting aspersions is their
methodology
subtle derailment of threads, by casting aspersions is their
methodology
subtle derailment of threads, by casting aspersions is their
methodology
subtle derailment of threads, by casting aspersions is their
methodology
Monica Lewdinsky
Valery Plame Wilson <---- michelle blonde evil yank whose goal was
various sabotages
Newton Gingrich <---- BiBBle waving ADULTERER, yank bastard
What about the CHILD MOLESTERS ?
What about the one who goes in MINNESOTA tapping adjacent bathroom
cells for gay sex ? :)))))
next prev parent reply other threads:[~2008-01-28 16:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-25 2:45 uniq without sort <-------------- GURU NEEDED gnuist006
2008-01-25 7:56 ` Thierry Volpiatto
2008-01-25 9:11 ` Peter Dyballa
[not found] ` <slrnfpki57.7nj.andrews@sdf.lonestar.org>
[not found] ` <slrnfpkj9c.18qn.read_the_sig@mantell0.local>
[not found] ` <7d849d0c-9d8e-44e9-b461-38657fae0a7d@b2g2000hsg.googlegroups.com>
[not found] ` <5462c3ef-cb53-40d8-8a96-bbf624408300@v4g2000hsf.googlegroups.com>
2008-01-28 16:51 ` thermate [this message]
2008-01-29 13:16 ` Michele Dondi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d2c7772-dab4-4f5a-94df-85f241fe3347@j78g2000hsd.googlegroups.com \
--to=thermate_911@india.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.