grep -i "computer" seddemo.txtsed -n '/[cC]omputer/p' seddemo.txtThis two command display the same thing, then what is the difference between them?
What is the difference between regular expression and other commands ?
sed -n ' /[cC]omputers/w student.txt' seddemo.txtsed -n '/[cC]omputers/p' seddemo.txt > student.txtoutput of both this command is same, then what's the difference ?
11055 visits
Outline:The sed command sed To print using sed Line Addressing Context Addressing
The sed command sed To print using sed Line Addressing Context Addressing
Show video info
Pre-requisite