| Raw Input
| Cryptography is the art, or science, of secret writing.
It has been widely used as a way to provide private
conversions very early in human history. In the context
of modern computing, it is associated with private
electronic communications. It may be used to protect
files, e-mail, and various types of network
connections.
|
|
| Desired Output
| is or of
a
in In
of it is
It be to
e
connections
|
|
Script and Comments
Script1 [ 1] s/[^A-Za-z]*\([A-Za-z][A-Za-z]*\)[^A-Za-z]*/\n\1/g
[ 2] /\n/!d
[ 3] s/[^\n]/#&/g
[ 4] :loop
[ 5] s/\(\n[^\n]*\)#/\1/g
[ 6] /\n[^#]/!b loop
[ 7] s/\n#[^\n]*//g
[ 8] s/^.//
[ 9] s/\n/ /g
| |
|