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 ?
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 ?
2303 visits
Outline:The sed command (सेड कमांड) sed (सेड) सेड प्रयोग करके प्रिंट करना। Line Addressing (लाइन अड्रेसिंग) Context Addressing (कॉन्टेक्स्ट अड्रेसिंग)
The sed command (सेड कमांड) sed (सेड) सेड प्रयोग करके प्रिंट करना। Line Addressing (लाइन अड्रेसिंग) Context Addressing (कॉन्टेक्स्ट अड्रेसिंग)
Show video info
Pre-requisite