Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.shell > #1763

Re: sed question

From Janis Papanagnou <janis_papanagnou@hotmail.com>
Newsgroups comp.unix.shell
Subject Re: sed question
Date 2011-08-21 06:07 +0300
Organization Aioe.org NNTP Server
Message-ID <j2pspt$mjd$1@speranza.aioe.org> (permalink)
References (1 earlier) <slrnj4ul6l.ne0.usenet-nospam@guild.seebs.net> <4117265f-36d6-481d-bf13-f618e0e08e30@g39g2000pro.googlegroups.com> <j2o9nn$hgi$1@dont-email.me> <0.b01bcde01680c0daa6e8.20110821030744BST.87wre78qkv.fsf@bsb.me.uk> <j2pq8r$rs5$1@dont-email.me>

Show all headers | View raw


Am 21.08.2011 05:24, schrieb Ed Morton:
>[...]
>>> sed 's/.*/&\n&/'
>
> before hitting on the one that worked on the OPs system (the last one
> above) which looks like a bunch of cryptic characters and caveats to me
> compared to:
>
> awk '{print; print}'

There were times when we wrote that more cryp.., erm.., idiomatic as

     awk 1\;1


Janis :-)

>
> which would work on any system.
>
> Ed.
>
>

Back to comp.unix.shell | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

sed question hsteenkamp@lycos.com - 2011-08-19 23:16 -0700
  Re: sed question Seebs <usenet-nospam@seebs.net> - 2011-08-20 06:32 +0000
    Re: sed question hsteenkamp@lycos.com - 2011-08-20 00:11 -0700
      Re: sed question Michael Vilain <vilain@NOspamcop.net> - 2011-08-20 00:19 -0700
      Re: sed question Seebs <usenet-nospam@seebs.net> - 2011-08-20 07:23 +0000
        Re: sed question hsteenkamp@lycos.com - 2011-08-20 02:06 -0700
          Re: sed question Seebs <usenet-nospam@seebs.net> - 2011-08-20 10:03 +0000
            Re: sed question hsteenkamp@lycos.com - 2011-08-20 04:51 -0700
              Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-20 14:59 +0300
                Re: sed question hsteenkamp@lycos.com - 2011-08-20 05:16 -0700
                Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-20 15:47 +0300
                Re: sed question hsteenkamp@lycos.com - 2011-08-20 06:35 -0700
      Re: sed question Ed Morton <mortonspam@gmail.com> - 2011-08-20 07:36 -0500
        Re: sed question Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-08-20 13:28 +0000
          Re: sed question Jens Schweikhardt <usenet@schweikhardt.net> - 2011-08-20 16:24 +0000
            Re: sed question Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-08-20 18:03 +0000
              Re: sed question pk <pk@pk.invalid> - 2011-08-20 23:06 +0200
        Re: sed question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-08-21 03:07 +0100
          Re: sed question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-08-21 03:09 +0100
          Re: sed question Ed Morton <mortonspam@gmail.com> - 2011-08-20 21:24 -0500
            Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-21 06:07 +0300
              Re: sed question Ed Morton <mortonspam@gmail.com> - 2011-08-20 23:08 -0500
                Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-21 15:21 +0300
                Re: sed question Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-08-21 13:40 +0000
                Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-22 22:25 +0300
                Re: sed question Aragorn <stryder@telenet.be.invalid> - 2011-08-22 22:03 +0200
                Re: sed question Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-08-22 23:33 +0300
                Re: sed question Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2011-08-22 21:28 +0000
            Re: sed question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-08-21 16:05 +0100
              Re: sed question pk <pk@pk.invalid> - 2011-08-21 17:09 +0200
              Re: sed question Ed Morton <mortonspam@gmail.com> - 2011-08-21 10:58 -0500
                Re: sed question Rakesh Sharma <sharma__r@hotmail.com> - 2011-08-22 15:11 -0700
                Re: sed question Ed Morton <mortonspam@gmail.com> - 2011-08-22 19:17 -0500
                Re: sed question "Ed Morton" <mortonspam@gmail.com> - 2011-08-23 16:57 +0000
                Re: sed question Rakesh Sharma <sharma__r@hotmail.com> - 2011-09-04 06:17 -0700
        Re: sed question Marc Girod <marc.girod@gmail.com> - 2011-08-21 06:30 -0700
          Re: sed question merlyn@stonehenge.com (Randal L. Schwartz) - 2011-08-21 08:10 -0700
  Re: sed question "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2011-08-20 18:50 -0400
    Re: sed question Stephane CHAZELAS <stephane_chazelas@yahoo.fr> - 2011-08-22 17:46 +0000

csiph-web