First page Back Continue Last page Overview Graphics

grep matching w/ regex

me@box:~$ cat knight

A novice was trying to fix a broken Lisp machine by turning the power off and on.

Knight, seeing what the student was doing, spoke sternly: “You cannot fix a machine by just power-cycling it with no understanding of what is going wrong.”

Knight turned the machine off and on.

The machine worked.

me@box:~$ cat knight | egrep -o ‘Lisp.*e’

Lisp machine