From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 7 Feb 2008 12:42:21 +0100 From: "y i y u s" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Non-parallel loop in Sam In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47AA38CF.5AC2EDD9@null.net> Topicbox-Message-UUID: 4b080242-ead3-11e9-9d60-3106f5b1d025 2008/2/7, Hongzheng Wang : > I see. The key point is to use external utilities, rather than depend > only on Sam itself. And not only the scripts you provided here but > also some specific utilies, say tac, can be applied in my question. > You could also use sed (I have never tried this in plan9): sed -e '1!G;h;$!d' -- - yiyus || JGL .