The ''file with rules'' is a simple text file, with one '''sed''' substitution rule per line. Invoking ''sed -f <file with rules>'' on a stream of text data is equivalent to performing '''sed''', sequentially, once for every rule in ''file with rules''. It’s mainly a time saver, but a significant one. | The ''file with rules'' is a simple text file, with one '''sed''' substitution rule per line. Invoking ''sed -f <file with rules>'' on a stream of text data is equivalent to performing '''sed''', sequentially, once for every rule in ''file with rules''. It’s mainly a time saver, but a significant one. |