Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux please help me with this assignment. Exercise 3. letter braiding with a spouse 1. Using an editor, create the following files: (a) a comma-separated

Linux

please help me with this assignment.

Exercise 3. letter braiding with a spouse 1. Using an editor, create the following files: (a) a comma-separated data file with the following fields on each row: email, first name. Make at least three rows of sample data. Save the file in konte / konte-repo / data.csv (b) konte / konte-repo / letter template file containing the following text:

From: Espen Askeladd To: --FIRST NAME-- <--E-POST--> Subject: I won, I won Dear --FIRST NAME--. Welcome to a party with me next Saturday :-)

(c) Create a makefile (in account / account-repo / makefile) so that the letter template is displayed when the command make show mal given.

2. Expand makefile so that, when the command make backup is given, in some cases a file will be created: konte / konte-repo / invitasjon.tar.gz. This file should contain the files konte / konte-repo / data.csv and konte / konte-repo / brevmal. This should happen is that in those cases where (1) the tar.gz file is missing, or (2) the data file and / or the letter template is newer than the tar.gz file.

3. Extend the make file so that, when the make merge command is given, for each row in the data file: a file is created that is such that: - They contain the text from the letter template, with --FIRST NAME-- and --EMAIL - replaced with values from a row in the data file. - They are named with the first name before the full stop, and email after the full stop. For example. such: Dolly.mail.

Tip: Create a script account / konte-repo / flett.sh that does the job, and call the script in makefila.

When the script session is over: Make sure that the following laughs are registered in the lattice repository (repo) from exercise 1, with descriptive comments:

konte/konte-repo/makefile,

konte/konte-repo/data.csv,

konte/konte-repo/brevmal,

konte/konte-repo/opptak-3/typescript,

konte/konte-repo/opptak-3/tidsfil og

(eventuelt konte/konte-repo/flett.sh)

The following must be included in 3.tar.gz: The catalog konto / with all content.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

1 Capital investment required: do we have the funds?

Answered: 1 week ago