|
Unix/Linux Scripts questions
Hi All,
You have a very large file, named 'ColCheckMe', tab-delimited, 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 shell functions (and standard LINUX/UNIX filters), indicate how you would verify that these conditions were satisfied in 'ColCheckMe'
In the same file, you are told that each value in column 1 is unique. How would you verify that?
Write a shell function that counts the number of occurrences of the word “SpecStr” in the file 'ColCheckMe'.
Please advice.
Thanks much.
|