The special parameter "$@" is referenced twice in the out script (page 425). Explain what would be different if the parameter "$*" were used in its place.

What will be an ideal response?


If you replace "$@" with "$*" in the out script, cat or less would be given
a single argument: a list of all files you specified on the command line
enclosed within single quotation marks. This list works when you specify a
single filename. When you specify more than one file, the shell reports No
such file or directory because there is not a file whose name matches the
string you specified on the command line (SPACEs are not considered special
characters when they are enclosed within single quotation marks).

Computer Science & Information Technology

You might also like to view...

Where is a global variable defined?

A. Outside a function B. Inside a function C. Anywhere D. In a function header line

Computer Science & Information Technology

Queries can use ________ functions to calculate sum, average, minimum or maximum for a group of records

Fill in the blank(s) with correct word

Computer Science & Information Technology

At what offset are the application's last access date and time located in a prefetch file?

a. 0x80 b. 0x88 c. 0x90 d. 0xD4

Computer Science & Information Technology

Listening to a lecture is not an effective retention and performance training method for many learners.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology