Rejstrik (index)

David Ondřich dond at sirrah.troja.mff.cuni.cz
Mon Nov 5 19:14:47 CET 2001


Preji hezky podvecer.

On Mon Nov 05, 2001 at 06:58, Matej Cepl wrote:
> Brutální řešení je
> 
> cat dokument.tex | tr '\n' ' ' | sort | uniq -c

To reseni neni az zas tak brutalni, tento typ prikazu bych spise oznacil
jako elegantni; pouzivam jej pomerne casto. Jen ma byt spravne 

cat <FILE> | tr ' ' '\n' | sort | uniq -c

aby se mezera mezi slovy nahradila koncem radku. Misto tr se da pouzit i
sofistikovanejsi regularni vyraz pro sed, vetsinou clovek nestoji o spojky
a predlozky v textu... Taktez uniq se da nahradit vlastnim (napr.) AWK
skriptem.

Zdravim

dond

> 
> 	Hezký den
> 
> 		Matěj
> 
-- 
The tao that can be tar(1)ed
is not the entire Tao.
The path that can be specified 
is not the Full Path.

We declare the names
of all variables and functions.
Yet the Tao has no type specifier.

Dynamically binding, you realize the magic.
Statically binding, you see only the hierarchy.

Yet magic and hierarchy
arise from the same source,
and this source has a null pointer.

Reference the NULL within NULL,
it is the gateway to all wizardry.

+-=====================================================================-+
| dond at sirrah.troja.mff.cuni.cz, http://sirrah.troja.mff.cuni.cz/~dond/ |
+-=====================================================================-+
|          Astronomical Institute Charles University Prague             |
|         V Holesovickach 2, 18000 Prague 8, +420-2-21912587            |
+-=====================================================================-+




More information about the csTeX mailing list