Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

USAGE ./program2 -I] I-u] I-o ] -]--version] [-h] input filename> Where: 1,--lower Convert all text to lowercase -u, --upper Convert all text to uppercase o

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

USAGE ./program2 -I] I-u] I-o ] -]--version] [-h] input filename> Where: 1,--lower Convert all text to lowercase -u, --upper Convert all text to uppercase o output filename>, -outfile (required) Input file Your program should open the input file for reading and the output file for writing. It should copy all data from the input file to the output file while optionally converting case as directed by the command line arguments. -u and -I are mutually exclusive. Only one may be given but neither is required. If the output file is not specified (it is optional), you should write to a file with the default name of "output.txt" USAGE ./program2 -I] I-u] I-o ] -]--version] [-h] input filename> Where: 1,--lower Convert all text to lowercase -u, --upper Convert all text to uppercase o output filename>, -outfile (required) Input file Your program should open the input file for reading and the output file for writing. It should copy all data from the input file to the output file while optionally converting case as directed by the command line arguments. -u and -I are mutually exclusive. Only one may be given but neither is required. If the output file is not specified (it is optional), you should write to a file with the default name of "output.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions