How do you use variables in sed?

Giang Phạm

New member
How do you use variables in sed?
Answer
Using Variables with Sed in Bash
  1. String to find in the supplied file, ex: findme.
  2. String to replace all instances of the found string with, ex: replacewithme.
  3. Path to file to search, ex: file-to-search. txt.
  4. Path to file to output results (optional), ex: file-to-write-output. txt.
12 янв. 2020 г.
 

Tìm kiếm

Back
Top