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


Groups > alt.os.linux > #57136

Re: I Have Found My Editor

From owl <owl@rooftop.invalid>
Newsgroups alt.os.linux
Subject Re: I Have Found My Editor
Date 2019-06-22 16:33 +0000
Organization O.W.L.
Message-ID <dfas0t3a.n@rooftop.invalid> (permalink)
References <qek1ao02uca@news1.newsguy.com> <a2d9f63b-86dc-4750-9f30-5ba92a8d666e@googlegroups.com> <qelbct01ehe@news2.newsguy.com> <xzv893tag.ahuo@rooftop.invalid> <qeljnk1hmi@news1.newsguy.com>

Show all headers | View raw


F. Russell <fr@random.info> wrote:
> On Sat, 22 Jun 2019 14:00:55 +0000, owl wrote:
> 
>> sed -e 's/\(.* .* .* .*\)\(ooo\)\(.* .*\)/\1XXX\3/g' afile
>>
> 
> Try it on this text file:
> 
> [#] cat birdbrain.txt
> Here cometh a bunch of ersatz columns.
> 
> They contain silly "ooo" content.
> 
> Here they be:
> 
> |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo|||
> |||||||||| |||||||||| |||||||||| ||ooo||||| ||||||||||
> |||||||||| |||||||||| ||||ooo||| |||||||||| ||||||||||
> |||ooo|||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| ||||ooo||| |||||||||| ||||ooo||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||ooo|||| |||||||||| |||||||||| ||ooo||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> 
> This ends the "ooo" silly column nonsense.
> 
> Now accept text as the limited format which it is.
> 
> 
> Result:
> 
> [#] sed -e 's/\(.* .* .* .*\)\(ooo\)\(.* .*\)/\1XXX\3/g' birdbrain.txt
> 
> Here cometh a bunch of ersatz columns.
> 
> They contain silly "XXX" content.
> 
> Here they be:
> |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo|||
> |||||||||| |||||||||| |||||||||| ||XXX||||| ||||||||||
> |||||||||| |||||||||| ||||ooo||| |||||||||| ||||||||||
> |||ooo|||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| ||||ooo||| |||||||||| ||||XXX||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||ooo|||| |||||||||| |||||||||| ||XXX||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
> 
> This ends the "XXX" silly column nonsense.
> 
> Now accept text as the limited format which it is.
> [#]
> 
> Oops!  It appears that the concept of a column has been
> erroneously to non-column areas.
> 

Nope.  It worked correctly.  Columns with a given delimiter
need not line up visually.  In fact, not forcing columns to
line up gives you much greater flexibility.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-22 01:47 +0000
  Re: I Have Found My Editor Pedro Valdez <pedro1492@lycos.com> - 2019-06-22 04:31 -0700
    Re: I Have Found My Editor "Carlos E.R." <robin_listas@es.invalid> - 2019-06-22 14:04 +0200
    Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 12:43 +0000
      Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 12:50 +0000
    Re: I Have Found My Editor John Hasler <jhasler@newsguy.com> - 2019-06-22 07:21 -0500
      Re: I Have Found My Editor Yrrah <Yrrah-aol@aol.invalid> - 2019-06-22 15:29 +0200
        Re: I Have Found My Editor John Hasler <jhasler@newsguy.com> - 2019-06-22 10:16 -0500
    Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-22 13:45 +0000
      Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 14:00 +0000
        Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-22 15:54 +0000
          Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 16:08 +0000
            Re: I Have Found My Editor John Hasler <jhasler@newsguy.com> - 2019-06-22 11:37 -0500
              Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-22 23:21 +0200
              Re: I Have Found My Editor DecadentLinuxUserNumeroUno@decadence.org - 2019-06-23 14:44 +0000
                Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-23 19:44 +0000
          Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-23 17:47 +0200
        Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-22 16:07 +0000
          Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 16:33 +0000
            Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 16:46 +0000
              Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-22 18:18 +0000
                Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-22 20:13 +0000
                Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-23 11:03 +0000
                Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-23 11:15 +0000
                Re: I Have Found My Editor John Hasler <jhasler@newsguy.com> - 2019-06-23 10:05 -0500
                Re: I Have Found My Editor DecadentLinuxUserNumeroUno@decadence.org - 2019-06-23 15:33 +0000
                Re: I Have Found My Editor DecadentLinuxUserNumeroUno@decadence.org - 2019-06-23 15:34 +0000
                Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-23 15:53 +0000
                Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-24 00:58 +0000
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-23 21:33 -0400
                Re: I Have Found My Editor William Unruh <unruh@invalid.ca> - 2019-06-24 07:35 +0000
                Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-24 11:45 +0200
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 07:45 -0400
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 08:34 -0400
                Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-24 14:37 +0200
                Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-24 15:09 +0200
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 09:46 -0400
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 12:26 -0400
                Re: I Have Found My Editor vallor <vallor@cultnix.org> - 2019-06-24 18:03 +0000
                Re: I Have Found My Editor "Carlos E.R." <robin_listas@es.invalid> - 2019-06-24 23:00 +0200
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 17:25 -0400
                Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-25 16:42 +0000
                Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-25 01:07 +0200
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-25 04:15 -0400
                Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-25 13:23 +0200
                Re: I Have Found My Editor RonB <ronb02NOSPAM@gmail.com> - 2019-06-24 04:28 +0000
                Re: I Have Found My Editor owl <owl@rooftop.invalid> - 2019-06-23 14:03 +0000
                Re: I Have Found My Editor Georges <georges@prout.com> - 2019-06-23 16:43 +0200
                Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-23 17:54 +0200
                Re: I Have Found My Editor Jasen Betts <jasen@xnet.co.nz> - 2019-06-24 09:18 +0000
                Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-24 10:30 +0000
                Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-24 13:53 +0200
                Re: I Have Found My Editor "F. Russell" <frussell@random.info> - 2019-06-24 12:49 +0000
                Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-24 15:14 +0200
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 09:52 -0400
                Re: I Have Found My Editor "F. Russell" <frussell@random.info> - 2019-06-24 14:12 +0000
                Re: I Have Found My Editor "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-06-24 10:43 -0400
                Re: I Have Found My Editor "Carlos E. R." <robin_listas@es.invalid> - 2019-06-22 23:27 +0200
      Re: I Have Found My Editor "Carlos E.R." <robin_listas@es.invalid> - 2019-06-22 16:30 +0200
        Re: I Have Found My Editor DecadentLinuxUserNumeroUno@decadence.org - 2019-06-22 14:59 +0000
      Re: I Have Found My Editor DecadentLinuxUserNumeroUno@decadence.org - 2019-06-22 14:54 +0000
    Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-22 20:51 +0000
  Re: I Have Found My Editor "Carlos E.R." <robin_listas@es.invalid> - 2019-06-22 14:17 +0200
    Re: I Have Found My Editor Yrrah <Yrrah-aol@aol.invalid> - 2019-06-22 14:50 +0200
      Re: I Have Found My Editor "Carlos E.R." <robin_listas@es.invalid> - 2019-06-22 15:55 +0200
        Re: I Have Found My Editor Yrrah <Yrrah-aol@aol.invalid> - 2019-06-22 17:43 +0200
  Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-22 20:54 +0000
    Re: I Have Found My Editor RonB <ronb02NOSPAM@gmail.com> - 2019-06-23 03:17 +0000
      Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-23 07:24 +0000
        Re: I Have Found My Editor RonB <ronb02NOSPAM@gmail.com> - 2019-06-23 16:46 +0000
          Re: I Have Found My Editor Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-24 00:56 +0000
            Re: I Have Found My Editor RonB <ronb02NOSPAM@gmail.com> - 2019-06-24 04:26 +0000
  Re: I Have Found My Editor Maurice <maurice@nomail.afraid.org> - 2019-06-23 10:56 +0000
  Re: I Have Found My Editor azigni <azigni@yahoo.com> - 2019-06-25 21:33 +0000
    Re: I Have Found My Editor "F. Russell" <fr@random.info> - 2019-06-26 01:32 +0000
      Re: I Have Found My Editor Aragorn <thorongil@telenet.be> - 2019-06-26 12:53 +0200
        Re: I Have Found My Editor "F. Russell" <frussell@random.info> - 2019-06-26 11:48 +0000
          Re: I Have Found My Editor Wildman <best_lay@yahoo.com> - 2019-06-26 07:39 -0500
            Re: I Have Found My Editor fr314159@gmail.com - 2019-06-26 05:51 -0700
          Re: I Have Found My Editor Aragorn <thorongil@telenet.be> - 2019-06-26 18:13 +0200
        Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-26 13:54 +0200
          Re: I Have Found My Editor Dan Purgert <dan@djph.net> - 2019-06-26 12:16 +0000
            Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-26 15:42 +0200
          Re: I Have Found My Editor Aragorn <thorongil@telenet.be> - 2019-06-26 18:18 +0200
            Re: I Have Found My Editor Soviet_Mario <SovietMario@CCCP.MIR> - 2019-06-26 21:07 +0200
        Re: I Have Found My Editor "F. Russell" <frussell@random.info> - 2019-06-26 12:26 +0000

csiph-web