From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] sed From: "rob pike" MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010104172828.77E16199E6@mail.cse.psu.edu> Date: Thu, 4 Jan 2001 12:28:11 -0500 Topicbox-Message-UUID: 44133cf4-eac9-11e9-9e20-41e7f4b1d025 I had a list of several ways to do it, of which the second was awk '{print NR "\t" $0}' file1 >file2 but decided the shortest was also the most straightforward. pr -t -n file1 > file2 -rob