Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
RSS cloud
Jump to:

Question 3 in Exercise2

1 of 390 articles shown, currently no other people reading this forum.
From: Khushboo S.
Date: Fri 20th Mar 2020, 1:58pm



I'm trying to solve Q3 in Exercise 2. As you may know that we have some lines of text 
in Feb2019 weather data. My first question is do we use TAIL/HEAD command to remove 
some rows or is there some other command to do that. I thought we could use CUT 
command for chopping rows but I haven't yet found the specific option to do so. 

At the moment I'm using tail -28 for Feb2019 and tail -29 for Feb2020 but may be 
there is a better way to do this.

Also do we have to calculate average of the column to determine which month is 
hotter/wetter or are we just comparing?

Related articles

Question 3 in Exercise2 (both) RSS
├─ THIS   Fri 20th Mar 2020, 1:58pm, Khushboo S.
└─ reply 1   Fri 20th Mar 2020, 2:24pm, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  9:57am Nov 18 2020