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...

Entering the year portion of a date as 40 will be interpreted as the year 2040

Indicate whether the statement is true or false

Computer Science & Information Technology

You can accept or reject changes without your own actions being recorded as a change by selecting ________

A) No One but Me B) Everyone but Me C) Everyone D) Only Me

Computer Science & Information Technology