Home > OS >  Write a Shell program to finish read from the file datalist a set of integers (ended up with - 999).
Write a Shell program to finish read from the file datalist a set of integers (ended up with - 999).

Time:11-23

1. Write a Shell program, complete read from the file datalist (ended up with - 999), a set of integers and the set of integers incrementally sorting and ranking results displayed on the screen,
Such as the datalist file contents as follows: 12-18 58-80-3 999
The screen output: 12-5-3 18 58
2. Write a shell program file name test_ count, statistics of the current directory specified in the student (name by read the keyboard, the quit end operation), a custom function examcount () returns a student number of uploaded files (the file name contains the student's name), and will record the student's name, file number in the file examlist
  • Related