Language and Computers by Meurers Detmar Dickinson Markus Brew Chris

Language and Computers by Meurers Detmar Dickinson Markus Brew Chris

Author:Meurers, Detmar, Dickinson, Markus, Brew, Chris
Language: eng
Format: epub
Publisher: Wiley
Published: 2012-08-09T16:00:00+00:00


Strings of literal characters egrep ‘and’ f.txt

matches lines with:

and, Ayn Rand, Candy, standalone, …

Character classes: egrep ‘the year [0-9][0-9][0-9][0-9]’ f.txt

matches lines with:

the year 1776, the year 1812a.d., the year 2112, …

Escaped characters: egrep ‘why\?’ f.txt

matches lines with:

why?, …

but does not match lines with:

why so serious, …

Disjunction (|): egrep ‘couch |sofa’ f.txt

matches lines with:

couch, w sofa, couched, …

Grouping with parentheses: egrep ‘un(interest |excit)ing’ f.txt

matches lines with:

uninteresting, unexciting

but does not match lines with:

uninterested, super-exciting



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.