From: William Staniewicz <wstan@localhostnl.demon.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] sed
Date: Thu, 4 Jan 2001 03:45:58 -0500 [thread overview]
Message-ID: <20010104024926.C82C1199DC@mail.cse.psu.edu> (raw)
Is there a different way to do the following under Plan9?
sed = file1|sed 'N;s/\n/\ /' >file2
or
cat -n file1 >file2
Both would insert line numbers in file2 from file1.
Sorry if this is a basic question.
Bill
next reply other threads:[~2001-01-04 8:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-04 8:45 William Staniewicz [this message]
[not found] ` <wstan@localhostnl.demon.nl>
2001-01-04 17:21 ` Tom Duff
-- strict thread matches above, loose matches on Subject: below --
2001-01-04 18:39 rog
2001-01-04 18:10 rob pike
2001-01-04 17:58 nigel
2001-01-04 17:28 rob pike
2001-01-04 3:15 jmk
2001-01-04 2:51 rob pike
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=20010104024926.C82C1199DC@mail.cse.psu.edu \
--to=wstan@localhostnl.demon.nl \
--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).