What is S in sed?

What is S in sed?
Answer
sed ‘s/regexp/replacement/g’ inputFileName > outputFileName. In some versions of sed, the expression must be preceded by -e to indicate that an expression follows. The s
stands for substitute
, while the g stands for global, which means that all matching occurrences in the line would be replaced.
 

Tìm kiếm

Back
Top