Answered step by step
Verified Expert Solution
Question
1 Approved Answer
LINUX Given the contents of flights.txt print the flight# of all flights departing from ONT on MONDAY Your solution must be implemented using a single
LINUX
Given the contents of flights.txt print the flight# of all flights departing from ONT on MONDAY Your solution must be implemented using a single regular expression
flight.txt
Flight# Airline Depart Arrive Day ------------------------------------------ 93104 TEAM ONT LAX MONDAY 62876 GE NYC ONT THURSDAY 30118 LOGI ONT PHX FRIDAY 12033 F LAX PHX MONDAY 40990 ACTI PHX ONT MONDAY 92377 EA ONT PHX SUNDAY
HINT: use cut HINT2: correct output is "93104"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started