We can find pattern at the end of the line by $. Can we find pattern at the beginning of the line? grep "[78]...$" grepdemo.txt, how this command find scholarship between 7000 to 8999 ?
grep "^A" grepdemo.txt, why this command only highlight the roll number starting with A, why not names ?
250 visits
Outline:More on grep command • Wad dakaba pyndonkam ka grep • Ban pyniahap palat ia kawei ka pattern • Ban peit iaka kyntien kaba don ka jingspel kaba pher • Character class • Ka jingpyndonkam ia u * • Ban pyniahap ia uno uno u dak pyndonkam u dot • Ban pyniahap ia ka pattern ha kaba sdang jong ka file • Ban pyniahap ia ka pattern ha kaba kut jong ka file.
More on grep command • Wad dakaba pyndonkam ka grep • Ban pyniahap palat ia kawei ka pattern • Ban peit iaka kyntien kaba don ka jingspel kaba pher • Character class • Ka jingpyndonkam ia u * • Ban pyniahap ia uno uno u dak pyndonkam u dot • Ban pyniahap ia ka pattern ha kaba sdang jong ka file • Ban pyniahap ia ka pattern ha kaba kut jong ka file.
Show video info
Pre-requisite