Hi People:
Could anybody tell me how can I do this with awk or bash shell?
I've a file with this systaxis:
#cat file
I went fishing for some sea <bass>.
The <bass> part of the song is very moving.
he proposed an elaborate <program> of public works.This information
was taken from the magazine.
the <program> required several hundred lines of code.
I need a script that gets 3 previus words and 3 words after the
tag(<>) from a text file,EXCEPT the words greater than
2 chars length(example of,a,an).
Returning something like this:
#----------------------------------
for some sea bass
The bass part the song
proprosed elaborate program public works
the program required several hundred
Thanks!
-ric