From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stalker To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: <308855b34e6b7412f0516aaa4ca1ce40@quanstro.net> References: <308855b34e6b7412f0516aaa4ca1ce40@quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2158.1240504496.1@maths.tcd.ie> Date: Thu, 23 Apr 2009 17:34:56 +0100 Message-Id: <20090423163456.3F1B1869C@okapi.maths.tcd.ie> Subject: Re: [9fans] missing ed's line numbering in sam -d Topicbox-Message-UUID: f0ec7872-ead4-11e9-9d60-3106f5b1d025 The underlying problem is that sam is simply not line-oriented. If you're doing things with a file which is naturally thought of a series of lines then ed is usually better than sam -d. -- John Stalker School of Mathematics Trinity College Dublin tel +353 1 896 1983 fax +353 1 896 2282