Modify rolo to look for a file .rolo in each rolo user's home directory that contains the full pathname to that user's phone book file. For example:

$ cat $HOME/.rolo
/users/steve/misc/phonebook
$


This one's really easy, just a few lines of code need to be added. Here's how the beginning of the script should now read:
if [ -s $HOME/.rolo ] ; then
PHONEBOOK=$(cat $HOME/.rolo)
else
: ${PHONEBOOK:=$HOME/phonebook}
fi

export PHONEBOOK

Computer Science & Information Technology

You might also like to view...

What is an algorithm?

What will be an ideal response?

Computer Science & Information Technology

Derive the closed-form expressions for (i) graph degree centrality ( GDC ), (ii) graph closeness centrality ( GCC ), and (iii) graph betweenness centrality ( GBC ).

What will be an ideal response?

Computer Science & Information Technology

The following code segment displays ___________

``` v1 = 15.0; v2 = 0.5; if (v1 > 10.0) printf("ten "); else if (v1 > 14.0) printf("fourteen "); if (v2 * v1 > 7.0) printf("seven "); if (v1 - v2 > 9.0) printf("nine "); printf("\n"); ```

Computer Science & Information Technology

In the ____ configuration, the workspace is optimized for people who are mostly writing code.

A. Specialist B. Dual C. Designer D. Coder

Computer Science & Information Technology