Next: Changing file extensions in
Up: More shell script examples
Previous: Printing with proper tab
Suppose you have a program, say MySort, that we want to test for several input
sizes. We can write a script to automate the testing as follows
for n in 10000 20000 30000 40000 50000 60000
echo '---Running MySort for ' $n ' elements---'