Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Si osservi che questa una domanda di tipo aperto, con correzione manuale. English Write a shell script x.sh that searches in the subtree of the

image text in transcribed

Si osservi che questa una domanda di tipo aperto, con correzione manuale. English Write a shell script x.sh that searches in the subtree of the home directory of the user each file having extension c, and it renames these files with extension c_new only if the file includes a string equal to the name of the file, For example, if only two files are found, namely, first c and second.c, and file first c includes these two lines: If this is first main{print "Hello'n while file second.c includes these two lines: If this is my program n. 1 main{ print "Hello'n") only file first.c will be renamed as first.c_new Note that this is a question of open type, with manual correction Precedente Successivo Si osservi che questa una domanda di tipo aperto, con correzione manuale. English Write a shell script x.sh that searches in the subtree of the home directory of the user each file having extension c, and it renames these files with extension c_new only if the file includes a string equal to the name of the file, For example, if only two files are found, namely, first c and second.c, and file first c includes these two lines: If this is first main{print "Hello'n while file second.c includes these two lines: If this is my program n. 1 main{ print "Hello'n") only file first.c will be renamed as first.c_new Note that this is a question of open type, with manual correction Precedente Successivo

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions