This is the "sub" script that is mentioned"
This is the "mysedfile" script that is mentioned as well (emptyline is there for a reason) -
Name Class1 Class2 Class3Tom 92 94 88Nancy 91 85 95Lisa 99 77 96
Jerry 84 98 90
Question -
Use the script file “sub” discussed on the last page ofthis week’s handout as a template to complete the followingtasks:
$ cat sub for file do echo $file mv $file $$.subhld sed 's/REPORT/report/g s/FILE/file/g s/PROCESS/process/g' $$.subhld > $file done rm $$.subhld ^D
This is the "sub" script that is mentioned" This is the "mysedfile" script that is mentioned as well (empty line is ther
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am