[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In ed isn't , s/..//p supposed to print all the lines it changed
From: |
Paul Jarc |
Subject: |
Re: In ed isn't , s/..//p supposed to print all the lines it changed |
Date: |
Sun, 25 Apr 2004 17:27:46 -0400 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Dan Jacobson <address@hidden> wrote:
> In ed isn't
> ,s/..//p
> supposed to print all the lines it changed, not just the last one?
No.
# In general, at most one command is allowed per line. However, most
# commands accept a print suffix, which is any of `p' (print), `l'
# (list), or `n' (enumerate), to print the last line affected by the
# command.
> And who knows if bug-coreutils is the right address.
ed certainly isn't part of coreutils. Try bug-gnu-utils, although I
don't know whether ed has a maintainer at all ATM.
paul