9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "y i y u s" <yiyu.jgl@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Non-parallel loop in Sam
Date: Thu,  7 Feb 2008 12:42:21 +0100	[thread overview]
Message-ID: <a81fe9be0802070342y37b3c483ua701efc4449bd0c1@mail.gmail.com> (raw)
In-Reply-To: <b954b2060802070333q502e1383j25d4810c16948ccf@mail.gmail.com>

2008/2/7, Hongzheng Wang <wanghz@gmail.com>:
> 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 .


  parent reply	other threads:[~2008-02-07 11:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 16:57 Hongzheng Wang
2008-02-07  9:55 ` Douglas A. Gwyn
2008-02-07 11:33   ` Hongzheng Wang
2008-02-07 11:38     ` sqweek
2008-02-07 11:42     ` y i y u s [this message]
2008-02-07 11:43   ` Rob Pike
2008-02-07 12:37     ` Hongzheng Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a81fe9be0802070342y37b3c483ua701efc4449bd0c1@mail.gmail.com \
    --to=yiyu.jgl@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).