Article 4YCM8 Syntax for shell script to Delete the lines containing the pattern

Syntax for shell script to Delete the lines containing the pattern

by
Shellscriptlnr
from LinuxQuestions.org on (#4YCM8)
I am trying to delete the lines in the file which contain "Memo" whether it is a upper or lower case. Can you please let me know what is the command to delete lines in the file before loading into the table. I tried using the below command but it did not work:

sed '/Memo/d' GDPUJ*.GLI - I am getting error: "?Invalid command"

mget GDPUJ*.GLI
sed '/Memo/d' GDPUJ*.GLI
mdelete GDPUJ*.GLI
quit
END_SCRIPTlatest?d=yIl2AUoC8zA latest?i=3fFGi5xw-mc:pg9TqDz-6oo:F7zBnMy latest?i=3fFGi5xw-mc:pg9TqDz-6oo:V_sGLiP latest?d=qj6IDK7rITs latest?i=3fFGi5xw-mc:pg9TqDz-6oo:gIN9vFw3fFGi5xw-mc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments