SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 3 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 20 Nov 2017 My Price 8.00

regular expressions in commands and scripts.

Goal

Use regular expressions in commands and scripts. Read help on Windows command findstr and Linux utility grep. Use grep with option -P.

 

Output

Complete the following tasks and submit it to the correlating assignment submissions folder. Supply screenshots to support your answers.

 

Procedure

Complete the following tasks.

 

Tasks

  1. Write a regex that matches email in the following format: n..e@domain.tld (name may contain letters, digits, underscores, dashes and periods; domain contains the same minus underscores; tld is a top-level domain).
  2. Example: j..d@5peacocks.com is a valid email
  3. Example: j..d@armadillo.cuteanimal is invalid (tld is invalid, too long)
  4. Write a regex that matches email in the following formatS: n..e@uiu.edu, name @ uiu.edu, name at uiu dot edu (in each case name may contain no more than 1 period).
  5. Write a Windows script, pipe or command that prints a line from the file sciencemath.html that contains my last name (Yasinovskyy).
  6. Write a Windows script or a pipe that finds all lines of a sciencemath.html that contain an email and saves them to a file harvest.txt (saved lines may contain other text, not just email).
  7. Write a Windows script or a pipe that counts number of Science and Math faculty emails (hint: use findstr and find).
  8. Write a Windows script that asks what file ([A]rts, [B]usiness, [E]ducation, [S]cience) a user wants to process and prints number of email addresses in that file.
  9. Write a Linux script or a pipe that prints names of Science and Math faculty.
  10. Write a Linux script or a pipe that prints emails of all UIU faculty and saves them (emails only) to a file harvest.txt.
  11. Write a Linux script that takes any faculty name as an argument and prints school affiliation of that person person's email (process all 4 files).
  12. Write a Linux script that takes any faculty name as an argument and prints that person person's email (process all 4 files).

Answers

(5)
Status NEW Posted 20 Nov 2017 02:11 PM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)