[Beowulf] Re: Religious wars
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Peter St. John peter.st.john at gmail.comMon Jul 21 14:30:31 PDT 2008
- Previous message: [Beowulf] Re: Religious wars
- Next message: [Beowulf] Re: Religious wars
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(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. Peter On 7/21/08, Perry E. Metzger <perry at piermont.com> wrote: > > > stephen mulcahy <smulcahy at aplpi.com> writes: > > Peter St. John wrote: > >> Line numbers are super convenient for peer-review, so humans can > >> refer to lines. I've written C programs just to preprend every line > >> with a consequtive integer. > >> Peter > > > > cat -n is your friend. > > and if it didn't exist, the corresponding awk program is: > > awk '{printf "%d %s\n", FNR, $0}' > > and Unix has about 10 other trivial ways to do this. (That's probably > not even the simplest awk program, but I'm lazy today.) > > > Perry > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.scyld.com/pipermail/beowulf/attachments/20080721/3a26fabe/attachment.html
- Previous message: [Beowulf] Re: Religious wars
- Next message: [Beowulf] Re: Religious wars
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
