Diagrams for homework 3:
![]()
![]()
![]()
![]()
Hint
Number 4 may take a little more effort (not much more) than other problems we have done. You may want to use a function to help with this problem. See section 6.11 of the book. There are actually multiple ways to determine if a file is of zero length.
- see find -size
- see set --
- awk
- ! [ -s $file ]