Just need some help, step by step in getting this assignment completed. 13 2 points Escape sequences
Fantastic news! We've Found the answer you've been seeking!
Question:
Just need some help, step by step in getting this assignment completed.
Transcribed Image Text:
13 2 points Escape sequences can be added to the printf format. For example (backslash n) will create a new line and \t (backslash t) will create a tab. Below are 2 examples of the being used to create a new line. a>= ~/tmp > printf "Roses are %s and violets are %s " red blue Roses are red and violets are blue a>= ~/tmp > printf "one two three four five " one two three four five Notice wherever a is placed a new line is created. Use printf to create the following list. Each name needs to be on a new line. Blackpink Lisa Jisoo Rose Jennie Upload a screenshot showing successful completion of this task. Include the command in the screen shot. 14 2 points A number can be added to the %s format description to add spacing to the text format. For example, %15s would shift the text 15 spaces to the right. If a dash (-) is added to the number, then the text aligns to the left. ~/tmp right align 15 spaces > printf "Name: %15s Age: %15s " Jeon 22 Name: Jeon Age: 22 = ~/tmp Drag n' Drop here or Browse left align 13 2 points Escape sequences can be added to the printf format. For example (backslash n) will create a new line and \t (backslash t) will create a tab. Below are 2 examples of the being used to create a new line. a>= ~/tmp > printf "Roses are %s and violets are %s " red blue Roses are red and violets are blue a>= ~/tmp > printf "one two three four five " one two three four five Notice wherever a is placed a new line is created. Use printf to create the following list. Each name needs to be on a new line. Blackpink Lisa Jisoo Rose Jennie Upload a screenshot showing successful completion of this task. Include the command in the screen shot. 14 2 points A number can be added to the %s format description to add spacing to the text format. For example, %15s would shift the text 15 spaces to the right. If a dash (-) is added to the number, then the text aligns to the left. ~/tmp right align 15 spaces > printf "Name: %15s Age: %15s " Jeon 22 Name: Jeon Age: 22 = ~/tmp Drag n' Drop here or Browse left align
Expert Answer:
Related Book For
Basic Technical Mathematics
ISBN: 9780137529896
12th Edition
Authors: Allyn J. Washington, Richard Evans
Posted Date:
Students also viewed these computer network questions
-
THIRD AVENUE SOFTWARE HEALTH-CARE APP PROJECT This case is new for the ninth edition of Information Technology Project Management . The case provides an opportunity to apply agile and Scrum...
-
This question concerns lexical grammars. (a) Tree Adjoining Grammars contain two types of elementary tree. (i) What are these trees called? [1 mark] (ii) If one were building a grammar for English...
-
please give a screen shot of the code and explainIneed a screen shot of code and explain Assume that \( n, z(1: n), L, R \), and \( a(1: 6) \) are available. Write an efficient Matlab script that...
-
What is the price of a 15-year, zero coupon bond paying $1,000 at maturity, assuming semiannual compounding, if the YTM is: a. 6 percent? b. 8 percent? c. 10 percent?
-
In Problem find f(x) and find the equation of the line tangent to the graph of f at x = 2. f(x) 2*
-
Consider ethyl-tertiary-butyl-ether (ETBE) as an alternative gasoline oxygenate to MTBE. Although the latter appears to have the best combination of properties such as oxygen content, octane number,...
-
Triangle Fastener Corporation accumulates costs for its single product using process costing. Direct material is added at the beginning of the production process. and conversion activity occurs...
-
Hoteliers have been hard at work to leave a positive first impression on their valued guests for decades. It is a pivotal element of a hotel's reputation, as how guests first perceive a hotel can set...
-
You are an external industrial-organizational (I-O) psychologist hired by a manufacturing company to implement the team concept with all production employees (800 employees) and managers (100...
-
After several years of internal debate, the Steig Primary Group has decided to offer a walk-in clinic for patients. Many of the physicians were not happy with the change as it meant that one day a...
-
Give SQL commands to create a Car table, with columns for the vehicle identification number, manufacturer, model, and year of each car, and to insert all cars that your family members own. Exercises ...
-
What is the difference between these two expressions? words.filter(w ->w.length() > 10). limit (100).count() words. limit (100).filter(w w.length() >10).count()
-
Repeat Exercise E21.3, reading one line at a time and writing the reversed lines to a temporary file. Then erase the original and move the temporary file into its place. Data from exercise E21.3...
-
Provide a static method that returns the reverse of a generic array list, without modifying the original list.
-
Then write about it like this. introduce the topic, concept, idea, relationship, or theory and explain its importance and relevance to marketing channels. If you need to reference the article, you...
-
Grace is training to be an airplane pilot and must complete five days of flying training in October with at least one day of rest between trainings. How many ways can Grace schedule her flying...
-
Solve the triangles with the given parts. A = 71.0, B = 48.5, c = 8.42
-
Perform the indicated operations, expressing all answers in the form a + bj. 3 2j 5 j - 6
-
In Example 5(a), interchange the second and third columns of the second matrix and then add the matrices. Data from Example 5(a) 8 1-59 0-2 3 7 + 3 460 6-2 65 = = 8+ (-3) 0+6 5 1+ 4 2+(-2) 51 -4 9 12...
-
In a survey, U.S. adults were asked to identify which social media platforms they use. The results are shown in the figure. Six adults who participated in the survey are randomly selected and asked...
-
Rotator cuff surgery has a 90% chance of success. The surgery is performed on three patients. Find the probability of the surgery being successful on exactly two patients.
-
Determine whether each experiment is a binomial experiment. If it is, specify the values of n, p, and q, and list the possible values of the random variable x. If it is not, explain why. 1. A certain...
Study smarter with the SolutionInn App