Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Give a regular expression that finds two things, try to
come up with regular expressions that find each
individually using "egrep" command?

Answer Posted / linuxdemon(vjsujay@gmail.com)

vjsujay@vjsujay-desktop:~/test$ cat jsk
cake
coke

vjsujay@vjsujay-desktop:~/test$ egrep 'c(a|o)ke' jsk
cake
coke

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

1217


What does pipe () return?

1080


Explain ‘library functions’ with respect to unix commands?

1176


What is the use of egrep command in unix?

1196


What is the pipe command?

1198


Is grep faster than awk?

1048


What does grep v do?

1060


Write a command to kill the last background job?

1107


What are the general commands in using unix os for a beginner?

1175


What do know about tee command and its usage?

1187


What is rmdir command?

1115


Which unix command to make a new directory?

1152


Which command can you use to find the currently running process in unix server?

1130


hw will u use awk in replacing cahrs and files

3250


What are the commands in UNIX to list the files in a Directory?

1192