Question
Using AWK Consider the file cars provided. The columns in the file contain from left to right: the cars make, model, year of manufacture, mileage,
Consider the file cars provided. The columns in the file contain from left to right: the cars make, model, year of manufacture, mileage, and price
Write a script to print the year of manufacture, price, mileage, and model of all the ford cars in a csv format. Be sure to use multi-line statements for improved readability. Include the header identifying each field, and a footer indicating the end of listing.
contents of cars:
plym fury 1970 73 2500 chevy malibu 1999 60 3000 ford mustang 1965 45 10000 volvo s80 1998 102 9850 ford thundbd 2003 15 10500 chevy malibu 2000 50 3500 bmw 325i 1985 115 450 honda accord 2001 30 6000 ford taurus 2004 10 17000 toyota rav4 2002 180 750 chevy impala 1985 85 1550 ford explor 2003 25 9500
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