Skip to main content
1 of 3
delh
  • 4.8k
  • 1
  • 15
  • 10

Check out this awnser:

how-to-check-if-sed-has-changed-a-file

Its pretty much the same as you are asking, its suggesting you use awk or output to a different file and diff the two files.

delh
  • 4.8k
  • 1
  • 15
  • 10