Exercises: shell scripts (1)
- Write a script called
l which runs ls
on supplied files, with ls arguments -las
- Write a script called
wtally which produces a
word-frequency profile of text on its standard input
or in a named file. A word is defined to be
any sequence of letters or apostrophes (e.g. "cat",
"running", "can't", etc.)
- Write a script called
args which shows information
about the script, including all of its command-line
arguments, one per line
|