Which one of the following is the correct syntax for performing substitution using sed? s /expr1/ expr2 b) sed s /expr1 expr2 c) sed s /expr1/ expr2/ flags d) sed s
Which one of the following is the correct syntax for performing substitution using sed? s /expr1/ expr2 b) sed s /expr1 expr2 c) sed s /expr1/ expr2/ flags d) sed s Correct Answer address
Substitution is one of the most important features of sed as it allows us to replace a pattern in its input with some other pattern. The correct syntax for performing substitution is : sed s /expr1/ expr2/ flags where address represents the line numbers where we want to perform the substitution. expr 1 and expr2 are expressions in which expr1 is replaced with expr2 flags are used for implementing the global or local replacement policy
মোঃ আরিফুল ইসলাম
Feb 20, 2025