I need to replace STUDENT (if found in the file FILENAME) with REPLACE.I've been searching for a couple hours now,so it's time for a question. What is the correct syntax of sed to do it ? My best attempt :
sed 's/'$STUDENT'/'$REPLACE'/' $FILENAME
I need to replace STUDENT (if found in the file FILENAME) with REPLACE.I've been searching for a couple hours now,so it's time for a question. What is the correct syntax of sed to do it ? My best attempt :
sed 's/'$STUDENT'/'$REPLACE'/' $FILENAME