(re line numbers) Ah, I should have said, that was in VMS. I did get
VIM for VMS though but I was never a maestro. There are happier VMS
installations with unix workalike interfaces, not there then though.<br>
Peter<br><br><div><span class="gmail_quote">On 7/21/08, <b class="gmail_sendername">Perry E. Metzger</b> <<a href="mailto:perry@piermont.com">perry@piermont.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> stephen mulcahy <<a href="mailto:smulcahy@aplpi.com">smulcahy@aplpi.com</a>> writes:<br> > Peter St. John wrote:<br> >> Line numbers are super convenient for peer-review, so humans can<br> >> refer to lines. I've written C programs just to preprend every line<br>
>> with a consequtive integer.<br> >> Peter<br> ><br> > cat -n is your friend.<br> <br> and if it didn't exist, the corresponding awk program is:<br> <br> awk '{printf "%d %s\n", FNR, $0}'<br>
<br> and Unix has about 10 other trivial ways to do this. (That's probably<br> not even the simplest awk program, but I'm lazy today.)<br> <br><br> Perry<br> </blockquote></div><br>