![]() |
|
|
grep unix.com with google
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Our Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Help with Simple Perl/Python Script
I have the following problem, which I need done in Perl/ or Python using Unix/linux filters...
1. You have a very large file, named 'ColCheckMe', tab-delmited, that you are asked to process. You are told that each line in 'ColCheckMe' has 7 columns, and that the values in the 5th column are integers. Using Perl/python (and standard LINUX/UNIX filters), indicate how you would verify that these conditions were satisfied in 'ColCheckMe' 2. In the same file, you are told that each value in column 1 is unique. How would you verify that? 3. Write a shell function that counts the number of occurrences of the word “SpecStr” in the file 'ColCheckMe'. Thanks a lot |
|
||||
|
Please review the rules, which you agreed to when you registered, if you have not already done so.
please review the guidelines for posting homework and repost. Thank You. The UNIX and Linux Forums. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Simple Perl/Python Script | Swapnilsagarwal | Shell Programming and Scripting | 1 | 11-05-2009 04:39 PM |
| Not able to run the simple perl script | Amey Joshi | UNIX for Dummies Questions & Answers | 9 | 10-21-2009 02:14 AM |
| Simple Script needed for Processing CSV file perl | cobbjob | Shell Programming and Scripting | 1 | 09-06-2009 09:28 PM |
| simple perl script not working | hankooknara | Shell Programming and Scripting | 4 | 01-11-2007 02:02 AM |
| Simple Perl Script to Screen Display | Shakey21 | Shell Programming and Scripting | 1 | 04-19-2002 12:55 PM |