Takumi0104 / MNXB11-homework

Apache License 2.0
0 stars 1 forks source link

Comments on shmifilter.sh, probably misunderstanding #2

Open floridop opened 3 weeks ago

floridop commented 3 weeks ago

Note that the script will NOT work without the smhicleaner.sh script present in the same folder:

https://github.com/Takumi0104/MNXB11-homework/blob/543e38181633954ec6033dba015e212365101740/homework4/Task4/smhifilter.sh#L11-L12

Infact if you try to run it it exits with error in my test machine:

$ ./smhifilter.sh 
shmicleaner.sh script not found in /home/pflorido/git/MNXB11/2024/2024MNXB11-homework_TN/homework4/Task4. Cannot continue. Exiting

Using awk instead of echo is not part of the exercise.

https://github.com/Takumi0104/MNXB11-homework/blob/543e38181633954ec6033dba015e212365101740/homework4/Task4/smhifilter.sh#L32-L41 https://github.com/Takumi0104/MNXB11-homework/blob/543e38181633954ec6033dba015e212365101740/homework4/Task4/smhifilter.sh#L56

There is a misunderstanding. Please start again by copying my smhifilter.sh file, leave most of the script untouched and just add a new filter at the end of the script, after the last line .