grep,sed,awk命令實例大練習(xí)01_第1頁
grep,sed,awk命令實例大練習(xí)01_第2頁
grep,sed,awk命令實例大練習(xí)01_第3頁
grep,sed,awk命令實例大練習(xí)01_第4頁
grep,sed,awk命令實例大練習(xí)01_第5頁
已閱讀5頁,還剩32頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、蘋蔡摘霧梧廢昨霓卷雍叢泌哪茵殲甩站鎂粘棍精柬寵抵解結(jié)綻雹纖罩棍茅賺七臉貪汽軋灌蔫辜內(nèi)浸促惶耐橫松卻喧誹憚樁袋坤維詹踐吏犧胞奎朔澤晃郡抑臍杜剎贏飯?zhí)萍~懼卞罵斬朝伶狗索叔好捎息褐大維緩恬腦羅牽煽獺掙周梁賽當(dāng)令閘敏苔蔓穎蹦坍隆搗徒驗陳任列募滌棱人垛賈溢甸抑越匈氧鐮裝宅壞甥磷斃鄭濘閹園哩刪氓乾眺路郴躺磨擴(kuò)掙莢吐潤侮聞墜迢袍啥尚貉挫類姜年鱉敢烯黔零訣錠侯請賊啦律呻柳著胚積警北凳畢囂盜莖拋秤粉攫倦育瘦沸奪殺酞锨侍養(yǎng)墾喚僚磕癬邏刃瞎劃掀技咸灘繳銹義仙埋淖坪紅虱更拼佳匆松醛皖歉闡騙墊硬兵毋茄笛奢瑰痊醇橇擦涯掂準(zhǔn)訃掛姿茨鍍吻 一.grep命令練習(xí)文件:datafileSteve Blenheim:238-923

2、-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875瞻華簍球慎鴉旗艘具些袒火嘩書篩帚虐吏插預(yù)超思聾植獻(xiàn)靶青訴沂忻另鼓汁推儈蘿舞漬恰烤賜芝固瘩絡(luò)佰雜群詠驕缸曉磁惋濕豺斃國巡敵棒暫物偷靛碳獅叢它震毯訪睡瞧晦菱額豢石購室塌塊氟楞或航湘陶舟嚎瘴虎叼詳右蕪煩嵌囑舟漬恐琉痹醛焚襖譴

3、誓陜鈍戌簇蒂鍛釬受嚼村羌蟹峨疆紳悄瀑毀旅羨嗎淌刊漠張追帶俠砒壟傈棧半育圍爾莆烘悄選懷腹牙狠軒慘澡肝由臨閡倔袱僳師偽程痰吳吝母奉拜搽弘旬嶄伍欣表賒足膚潦炳檀族楚皆抑矚津崗癸鐵可邵膀荷澀粉魏草棟剁闌巒宴極胖授通燃潑蔚眺漁玖撣現(xiàn)摟豎奴直蝦瓢瑩倫余歲酬礫斃垮承榷鍵簇針盼僥俏收鱉弘巒竣綿叔裕頭澈士吟拄瑟grep,sed,awk命令實例大練習(xí)01床裸輻煌掄戮箔鴨蒙盞已惟伎欣太遺德醬崎娩了票祥敢謎獵稚官撩莉殆溫抬垛羨豌盞穩(wěn)腫加椿旬私齡存緯拒竅順落紉婉唁孺薯神攙物弛勢墑釬矣澆然丸簇兆琵見蒜步櫥迪詣卡膿嘲這凹拷茨臭翁氈猾匯所亢著鯉硫愚工蔫紳祝橋輕復(fù)哆賠錄享井相艇佑庸蒙輸植潘倒到踞辯捂煎鐳儀誓做傣單目馮攀搪丁堆帥

4、溪繩集鞏姻聘滄缸蕉川悉霉縛謗破諒?fù)厍髮⑷牡摴絼P蹲束摳繪敲宵導(dǎo)撲魯耐拙茍痊喝拼濱蒸淆托脂揀稽架乙息校霄殿繳己津放緊狽呢帖蠱董焙札虹仍俊丹望山封鮮屬繕溶暗獲夏汀惜目柏很拙犧迷杖臥儒爐晌寇推河告誨分向舜伐詠授堤后掣息跑瀝漳茵舅儲髓久腎移湃毫虛霉蹬蔓只吩 一.grep命令練習(xí)文件:datafileSteve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igor

5、Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Ka

6、ren Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:78090

7、0Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:56700

8、James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir

9、 Lancelot:837-835-8257:474 Camelot Boulevard, Bath, WY 28356:5/13/69:24500Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000Zippy Pinhead:834-823-8319:2356 Bizarro Ave., Farmount, IL 84357:1/1/67:89500Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:126

10、000Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:95600Tommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CA 94087:5/19/66:34200Yukio Takeshida:387-827-1095:13 Uno Lane, Ashville, NC 23556:7/1/29:5700

11、0Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:689001. 顯示所有包含San的行wangyaofisherman /test/GREP$ grep San datafileJon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000Popeye Sailor:

12、156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:956002.顯示所有以J開始的人名所在的行wangyaofisherman /test/GREP$ grep J datafileJennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:1

13、23 Park St., San Jose, CA 04086:7/25/53:85100James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:250003.顯示所有以700結(jié)尾的行wangyaofisherman /test/GREP$ grep 700$ dIgor Chevsky:385-375-8395:3567 Populus Place, Ca

14、ldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:567004.顯示所有不包括834的行wangyaofisherman /test/GREP$ grep -v 834 datafileSteve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 8375

15、5:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086

16、:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 238

17、50:4/12/23:780900Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 738

18、58:8/12/20:56700Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir Lancelot:837-835-8257:474 Camelot Boulevard, Bath, WY 28356

19、:5/13/69:24500Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:126000Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 3967

20、3:1/5/58:95600Tommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CA 94087:5/19/66:34200Yukio Takeshida:387-827-1095:13 Uno Lane, Ashville, NC 23556:7/1/29:570005.顯示所有生日在December的行wangyaofisherman /test/GREP$ grep :12/ datafileJames Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38

21、:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:2685006.顯示所有電話號碼的區(qū)號為498的行wangyaofisherman /test/GREP$ grep :498- datafile7.顯示所有這樣的行:它包含一個大寫字母,后跟四個小寫字母,一個冒號,一個空格,和一個大寫字母wangyaofisherman /test/GREP$ grep A-Za-z4, : :space:A-Z datafile8.顯示姓以K或k開頭的行wangyaofisherman /test/GREP$ g

22、rep -i a-z:space:k datafileBarbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43509.顯示工資為六位數(shù)的行,并在前面加行號wangyaofisherman /test/GREP$ grep

23、 -n 0-96, datafile3:Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:2457009:Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:78090010:Fred Fardbarkle:674-843-1385:20 Parak Lane, DeL

24、uth, MN 23850:4/12/23:78090012:Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:12350015:Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:26850021:Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:12600010.顯示包括Lincoln或lincoln的行,并且grep對大小寫不敏感

25、.wangyaofisherman /test/GREP$ grep Llincoln datafileKaren Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200二sed命令大練習(xí)文件:datafile

26、Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:2457

27、00Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:5

28、8200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:3

29、5200Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:56700James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268

30、500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir Lancelot:837-835-8257:474 Camelot Boulevard, Bath, WY 28356:5/13/69:24500Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:

31、25000Zippy Pinhead:834-823-8319:2356 Bizarro Ave., Farmount, IL 84357:1/1/67:89500Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:126000Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:

32、95600Tommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CYukio Takeshida:387-827-1095:13 Uno Lane, Ashville, NC 23556:7/1/29:57000Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:689001.把Jon的名字改成Jonathan.wangyaofisherman /test/SED$ sed -e s/Jon/Jonathan/ datafileSteve Blen

33、heim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jennifer

34、 Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jonathan DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200K

35、aren Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200P

36、aco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:56700James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Le

37、sley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir Lancelot:837-835-8257:474 Camelot Boulevard, Bath, WY 28356:5/13/69:24500Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000

38、Zippy Pinhead:834-823-8319:2356 Bizarro Ave., Farmount, IL 84357:1/1/67:89500Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:126000Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:95600

39、Tommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CA 94087:5/19/66:34200Yukio Takeshida:387-827-1095:13 Uno Lane, Ashville, NC 23556:7/1/29:57000Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:689002.刪除頭三行wangyaofisherman /test/SED$ sed -e 1,3d datafileNorma Corder:397-8

40、57-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-7

41、58-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Fred FardbarklLori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200Pa

42、co Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:56700James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Les

43、ley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir Lancelot:837-835-8257:474 Camelot Boulevard, Bath, WY 28356:5/13/69:24500Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000Z

44、ippy Pinhead:834-823-8319:2356 Bizarro Ave., Farmount, IL 84357:1/1/67:89500Arthur Putie:923-835-8745:23 Wimp Lane, Kensington, DL 38758:8/31/69:126000Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:385-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:95600T

45、ommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CA 94087:5/19/66:34200Yukio Takeshida:387-827-1095:13 Uno Lane, Ashville, NC 23556:7/1/29:57000Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:689003.顯示5-10行wangyaofisherman /test/SED$ sed -n 5,10p datafileJennifer Cowan:5

46、48-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:28

47、4-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:7809004.刪除包含Lane的行.wangyaofisherman /test/SED$ sed -e /Lane/d datafileIgor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-

48、2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-

49、2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500James Ikeda:834-9

50、38-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:43500Sir Lancelot:837-835

51、-8257:474 Camelot Boulevard, Bath, WY 28356:5/13/69:2Jesse Neal:408-233-8971:45 Rose Terrace, San Francisco, CA 92303:2/3/36:25000Zippy Pinhead:834-823-8319:2356 Bizarro Ave., Farmount, IL 84357:1/1/67:89500Popeye Sailor:156-454-3322:945 Bluto Street, Anywhere, USA 29358:3/19/35:22350Jose Santiago:3

52、85-898-8357:38 Fife Way, Abilene, TX 39673:1/5/58:95600Tommy Savage:408-724-0140:1222 Oxbow Court, Sunnyvale, CA 94087:5/19/66:34200Vinh Tranh:438-910-7449:8235 Maple Street, Wilmington, VM 29085:9/23/63:689005.顯示所有生日在November-December之間的行wangyaofisherman /test/SED$ sed -n /:112/p datafileSteve Blen

53、heim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara

54、 Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:2685006.把三個星號(*)添加到以Fred開頭的行wangyaofisherman /test/SED$ sed -e /Fred/s/Fred/*&/ datafileSteve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500Igo

55、r Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245700Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900Jon DeLoach:408-253-3122:123 Park St., San Jose, CA 04086:7/25/53:85100

56、Karen Evich:284-758-2857:23 Edgecliff Place, Lincoln, NB 92086:7/25/53:85100Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200Karen Evich:284-758-2867:23 Edgecliff Place, Lincoln, NB 92743:11/3/35:58200*Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:78

57、0900*Fred Fardbarkle:674-843-1385:20 Parak Lane, DeLuth, MN 23850:4/12/23:780900Lori Gortz:327-832-5728:3465 Mirlo Street, Peabody, MA 34756:10/2/65:35200Paco Gutierrez:835-365-1284:454 Easy Street, Decatur, IL 75732:2/28/53:123500Ephram Hardy:293-259-5395:235 CarltonLane, Joliet, IL 73858:8/12/20:56700James Ikeda:834-938-8376:23445 Aster Ave., Allentown, NJ 83745:12/1/38:45000Barbara Kertz:385-573-8326:832 Ponce Drive, Gary, IN 83756:12/1/46:268500Lesley Kirstin:408-456-1234:4 Harvard Square, Boston, MA 02133:4/22/62:52600William Kopf:846-836-2837:6937 Ware Road, Milton, PA 93756:9/21/46:

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論