Question 4
In a text file named "numbers.txt", multiple lines contain numbers. You want to delete all lines that have a number greater than 100. Which sed command would you use?
Hint: By default, SED uses the Basic Regular Expression Engine (BRE)
In a text file named "numbers.txt", multiple lines contain numbers. You want to delete all lines that have a number greater than 100. Which sed command would you use?
Hint: By default, SED uses the Basic Regular Expression Engine (BRE)
Correct answer
Question 4 of 15 in the IIT Madras BS System Commands (System Commands) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep). It carries 6 marks.