![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not able to run the simple perl script | Amey Joshi | UNIX for Dummies Questions & Answers | 9 | 4 Weeks Ago 01:14 AM |
| Simple Script needed for Processing CSV file perl | cobbjob | Shell Programming and Scripting | 1 | 09-06-2009 08:28 PM |
| Writing simple python setup commands | iBot | Red Hat | 0 | 04-30-2009 01:45 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 11:55 AM |
![]() |
|
|
LinkBack | 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 do not post homework in the main forums. Repost in the appropriate forum.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|