*BSD News Article 95636


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.shell,comp.os.linux.misc,alt.os.linux,comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc,gnu.misc.discuss
Subject: Re: unix acronyms -collecting a list?
Date: 17 May 1997 20:32:23 GMT
Organization: Private BSD site, Dresden
Lines: 15
Message-ID: <5ll4kn$9t@uriah.heep.sax.de>
References: <5kd2ng$c8b$1@rzsun02.rrz.uni-hamburg.de>
  <5l3c2f$i1j@pasilla.bbnplanet.com> <337A003F.6A7B@ncofsi.com>
  <3378D37F.462F3A47@gaijin.com>
  <Pine.SUN.3.95.970513170134.19438A-100000@omni2>
  <Pine.GSO.3.96.970513200952.7143D-100000@tree.stanford.edu>
  <EA6HHD.AAF@serval.net.wsu.edu> <337A12AD.A95CC34@uniqserve.com>
  <337A432A.2781@isoft.com> <337B29E4.17FB@baynetworks.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.shell:45163 comp.os.linux.misc:175948 alt.os.linux:21355 comp.unix.bsd.misc:3328 comp.unix.bsd.freebsd.misc:41172 gnu.misc.discuss:31373

Robert Seeger <rseeger@baynetworks.com> wrote:

> Actually, it comes from sed's command g/re/p
> Which is where vi got it from, also.

No, as others mentioned, from ed.  sed doesn't have a `global'
command, since all operations are global by default.  In sed, you
would have to write it /re/p, and need to start it with the -n option.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)