O'Reilly logo
  • Ivan Petrov thinks this is interesting:

An equal sign (=) following an address prints the line number of the matched line. Unless you suppress the automatic output of lines, both the line number and the line itself will be printed. Its syntax is:



Cover of sed & awk, 2nd Edition


printing line numbersd