Posted to bogusest by Bradipo at Tue Apr 05 19:36:51 GMT 2022view raw

  1. $ cat token.sed
  2. s/TOKEN/\
  3. a\
  4. z\
  5. /
  6.  
  7. $ cat input.txt
  8. 0
  9. TOKEN
  10. 9
  11.  
  12. $ sed -f /tmp/token.sed input.txt
  13. 0
  14.  
  15. a
  16. z
  17.  
  18. 9
  19.