0% found this document useful (0 votes)
34 views

Second Question Scheme

#! / bin / bash echo "enter file namesn" do read line if test "$line" = "." then break fi if test! -s $file then echo no file $file else cat $file fi done.

Uploaded by

Shyam Karanth
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Second Question Scheme

#! / bin / bash echo "enter file namesn" do read line if test "$line" = "." then break fi if test! -s $file then echo no file $file else cat $file fi done.

Uploaded by

Shyam Karanth
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

2. #!/bin/bash echo Enter file names\n while true do read line if test $line = .

then break fi if test $line = then continue fi for file in $line do if test ! s $file then echo no file $file else cat $file fi done done

You might also like