Your boss is trying to import the customers file into her spreadsheet program, but the data goes into the spreadsheet incorrectly. This is because the fields are separated by dashes (-) and the spreadsheet program requires the fields to be separated by colons (:). Which of the following commands can you use to convert the customers file?

a. replace - : customers
b. tr - "-" ":" < customers
c. sed %- % > customers
d. cat -r -/: customers

Respuesta :

Limosa

Answer:

Option B i.e., tr - "-" ":" < customers.

Explanation:

When the user's supervisor wants to transfer the client's document into their software, however, the information falls inappropriately within the spreadsheet.

This occurs when some areas are divided through dashes "-", and the software for the spreadsheet includes a colon ":" to distinguish the areas. Then the following tr-"-":" "< commands that client could use to transform client document.