id, first name, last name, email,gender,ip_address, Phone 1, Prent,Tommeo, ptomm
ID: 3753031 • Letter: I
Question
id, first name, last name, email,gender,ip_address, Phone 1, Prent,Tommeo, ptommeo0@ucla.edu, Male, 245.97.188.194,347-942-8933 2, Burnard, Gaskin,bgaskinl@multiply.com, Male, 219.134.155.184,799-614-3122 3, Perkin, Roney, proney2@webmd.com, Male, 55.202.227.233, 366-090-5969 4, Trudie, Svanini,tsvanini38cisco.com, Female,153.141.143.50, 403-342-7630 5, Adrianne, Souter,asouter4@cocolog-nifty.com, Female,76.251.176.13, 964-543- 0975 6, Vivian, Leel,vlee15@biglobe.ne.jp, Female, 57.85.191.189,228-140-1684 7,Lion, Tait,ltait6Cusa.gov,Male, 160.234.41.137, 706-545-8983 8, Alphard, Ennals, aennals7@google.fr, Male, 82.82.187.61, 695-774-8003 9, Gerty,Grizard, ggrizard8@wikispaces.com, Female, 175.239.47.161,127-551- 1608 10, Kermit,Eardley, keardley9@ifeng.com, Male, 37.138.214.16,588-197-4804 11,Tobit, Videler,tvidelera@smugmug.com, Male, 81.16.108.161, 441-336-1901 12,Tiebout, Ligerton,tligertonb@google.it,Male, 7.12.170.237,757-796-8925 13, Candace, Varian,cvarianc&tuttocitta.it, Female, 190.131.4.252, 321-727-7418 14, Teriann, Sodory,tsodoryd360.cn, Female, 34.246.140.215,295-609-8894 5, Wynnie, Frondt, wfrondte@springer.com, Female, 174.76.253.81,852-721-8292 16, Harwell, 9516 17,Sharyl,Geroldi, sgeroldig@deviantart.com, Female, 116.27.107.134, 312 7911 Fossitt,hfossittfethemeforest.net,Male, 180.142.183.185, 942-538 -012- e, Phipp, cphipphegizmodo.com, Male, 216.208.120.82, 504-692-5473 19, Kaitlyn, de Clerk, kdeclerkieimagesh 4114 20, Urbanus, Hrycek, uhrycekj@artisteer.com, Male, 71.221.185.109, 473 21, Stanislaus, Mulgrew, smulgrewk@newyorker.com, Male, 11.188.85.168, 533 3470 2,Marcelo, Bi11am, mb illam1@umi ch.edu, Male, 115.88.186.138, 172-196-1 ack.us, Female, 158.42.60.172, 660-239 smulgre everm@lulu.com, Male, 194.5.89.139, 342-307-421 v, gyurlovn@pho 2.20. 1IExplanation / Answer
s/ <-- this means it should perform a substitution
.* <-- this means match zero or more characters
[ <-- this means match a literal [ character
( <-- this starts saving the pattern for later use
[^]]* <-- this means match any character that is not a [ character
the outer [ and ] signify that this is a character class
having the ^ character as the first character in the class means "not"
) <-- this closes the saving of the pattern match for later use
] <-- this means match a literal ] character
.* <-- this means match zero or more characters
/ <-- this means replace everything matched with the first saved pattern
(the match between "(" and ")" )
/g <-- this means the substitution is global (all occurrences on the line)
awk -F ":" '
BEGIN { printf "%-8s %-3s ", "First_Name","Last_Name"}
NR=1, NR=24 { print $1}'
-f2='('
-f1=')'
echo $str | cut -d "[" -f2 | cut -d "]" -f1
awk -v skip=1
'{for (i=0; i<skip;i++){getline};
print $03 First_Name'
grep "\($first_Name\)" file
grep "\($last_Name\)" file
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.