Rewrite myname from the previous step, calling it myname2. Have this ver- sion of the program prompt the user for a string, but instead of displaying Hello and the string on the screen (sending it to standard output) redirect the output so the program writes only the string the user entered (and not Hello) to the temporary file named PID.name where PID is the process ID number (Sobell, page 480) of the process running the script. Display the contents of the PID.name file.

What will be an ideal response?

Computer Science & Information Technology

You might also like to view...

The Small capitals font effect is often used on bibliography pages

Indicate whether the statement is true or false

Computer Science & Information Technology

Searching a 2-3 tree is ______.

a) O(n) b) O(log2n) c) O(log2n n) d) O(n2)

Computer Science & Information Technology