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:[line-address]= From 5.9. Print Line Number from sed & awk, 2nd Edition by Arnold Robbins, Dale Dougherty Publisher: O'Reilly Media, Inc. Released: March 1997 Note printing line numbersd Share this highlight http://www.safaribooksonline.com/a/sed-awk/38136/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Learn about Safari for Business Have an account? Sign in. Minimise Unlock the rest of sed & awk, 2nd Edition and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.