A bit of play with the British National Corpus

We will use $b as defined by

b=/home/SRUNET/david.dailey/data/wordstudy/BNCwordfreq63007


$ head $b
the 6187267
of 2941444
and 2682863
a 2126369
in 1812609
to 1620850
it 1089186
is 998389
was 923948
to 917579

How to get just the words?

Consider cut:

Note that cutting specific columns doesn't work.

$ cut -c1-6 $b|head
the 61
of 294
and 26
a 2126
in 181
to 162
it 108
is 998
was 92
to 917

$ cut -d' ' -f1 $b|head
the
of
and
a
in
to
it
is
was
to

Finding words that end in o:
$ cut -d' ' -f1 $b|grep o$|head
to
to
who
do
into
two
so
no
also
do
[public_html]$ cut -d' ' -f1 $b|grep o$|wc
    446     446    2743


Another way to do it:
$ grep o' ' $b|head
to 1620850
to 917579
who 205432
do 196635
into 163469
two 156111
so 147324
no 137026
also 124884
do 83661
[public_html]$ grep o' ' $b|wc
    446     892    4306