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).

A reminder that there will be no Zoom laboratory session on Friday 29th.
Assignment 2 and Clarifications.
RSS cloud
Jump to:

Problem with Q2 in Exercise 2

1 of 339 articles shown, currently no other people reading this forum.
From: Khushboo S.
Date: Thu 19th Mar, 11:43pm

I think I have a slight error in my code. I'm trying to sort the second column after 
selecting the required Fuel station and type of Fuel. But it isn't working. Not sure 
what am I missing as I did the same thing in lab computer and it worked.

cut -d, -f1,2,4,5 FuelWatchRetail-02-2020.csv| grep "Caltex StarMart Applecross"| 
grep "PULP"|cut -d, -f1,4|sort -t -k2

Related articles

Problem with Q2 in Exercise 2 (both) RSS
├─ THIS   Thu 19th Mar, 11:43pm, Khushboo S.
└─ reply 1   Fri 20th Mar, 2:15pm, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020