Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ANDHRA PRADESH
Name : A V N L Sarojini
Designation : Lecturer
Branch : Computer Engineering
Institute : A.A.N.M. & V.V.R.S.R. Poly.,
Gudlavalleru.
Year/Semester : III Semester
Subject : UNIX & C
Subject Code : CM-304
Topic : Shell Programming &
Filtering Techniques
Duration : 50 min
Sub Topic : Usage of egrep
Teacher Aids : PPT
CM304.23 1
Objective
CM304.23 2
Recap
CM304.23 3
Recap
CM304.23 4
Using Regular expression
CM304.23 6
EXTENDING grep - egrep
CM304.23 7
EXTENDING grep - egrep
The extended regular expression used by the egrep
command are:
Expression Meaning
exp1 | exp2 Matches expression exp1 (or) exp2
(x1 | x2)x3 Matches the expression x1 x3 (or) x2 x3
CM304.23 8
EXTENDING grep - egrep
CM304.23 9
EXTENDING grep - egrep
CM304.23 10
EXTENDING grep - egrep
$cat >pat.1st
admin | accounts | sales
CM304.23 11
EXTENDING grep - egrep
CM304.23 12
Summary
CM304.23 13
Quiz
CM304.23 14
Quiz
[ TRUE/FALSE ]
CM304.23 15
Quiz
[ TRUE/FALSE ]
CM304.23 16
Frequently Asked Questions
CM304.23 17