Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #57099 > unrolled thread
| Started by | "F. Russell" <fr@random.info> |
|---|---|
| First post | 2019-06-22 01:47 +0000 |
| Last post | 2019-06-26 12:26 +0000 |
| Articles | 20 on this page of 86 — 23 participants |
Back to article view | Back to alt.os.linux
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
Page 1 of 5 [1] 2 3 4 5 Next page →
| From | "F. Russell" <fr@random.info> |
|---|---|
| Date | 2019-06-22 01:47 +0000 |
| Subject | I Have Found My Editor |
| Message-ID | <qek1ao02uca@news1.newsguy.com> |
Being a long time user of the Cooledit text editor I long realized that, in spite of its minor shortcomings, there was nothing better. But now I've found something that actually surpasses Cooledit: Geany. Geany is now my text editor of choice, although I still would like to see Cooledit brought up to "modern" standards. Other text editors are either dinosaurs that refuse to die, like vim, emacs, joe, etc., or that are entangled in the bloated nonsense of a DE, like gedit. However, Geany and Cooledit achieve that perfect balance of modernism and minimalism while yet expressing comprehensive power.
[toc] | [next] | [standalone]
| From | Pedro Valdez <pedro1492@lycos.com> |
|---|---|
| Date | 2019-06-22 04:31 -0700 |
| Message-ID | <a2d9f63b-86dc-4750-9f30-5ba92a8d666e@googlegroups.com> |
| In reply to | #57099 |
Yes, I've been using geany for quite a while. I would like to see an editor that does find&replace only in certain columns. I don't know any FOSS editor that does so.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-06-22 14:04 +0200 |
| Message-ID | <24i1uf-jh8.ln1@Telcontar.valinor> |
| In reply to | #57111 |
On 22/06/2019 13.31, Pedro Valdez wrote: > Yes, I've been using geany for quite a while. > I would like to see an editor that does find&replace only in certain columns. > I don't know any FOSS editor that does so. > There are editors that do search/replace inside a block; thus you can select the column in a block, on those editors that support that. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 12:43 +0000 |
| Message-ID | <8g0a083r.ay@rooftop.invalid> |
| In reply to | #57111 |
Pedro Valdez <pedro1492@lycos.com> wrote: > Yes, I've been using geany for quite a while. > I would like to see an editor that does find&replace only in certain columns. > I don't know any FOSS editor that does so. Vim can do it. After visually selecting a block: :%s/\%Vxxx/yyy/g There is a vim plugin for geany that may or may not work.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 12:50 +0000 |
| Message-ID | <jgk83wfu3.893@rooftop.invalid> |
| In reply to | #57117 |
owl <owl@rooftop.invalid> wrote: > Pedro Valdez <pedro1492@lycos.com> wrote: >> Yes, I've been using geany for quite a while. >> I would like to see an editor that does find&replace only in certain columns. >> I don't know any FOSS editor that does so. > > Vim can do it. > After visually selecting a block: > :%s/\%Vxxx/yyy/g > There is a vim plugin for geany that may or may not work. > Nevermind about the vim plugin. https://plugins.geany.org/vimode.html <quote> block visual mode is not implemented - probably possible using Scintilla's multiple selection feature. </quote>
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Date | 2019-06-22 07:21 -0500 |
| Message-ID | <87tvchrett.fsf@dhh.gt.org> |
| In reply to | #57111 |
Pedro writes: > I would like to see an editor that does find&replace only in certain > columns. What do you mean by that? -- John Hasler jhasler@newsguy.com Dancing Horse Hill Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | Yrrah <Yrrah-aol@aol.invalid> |
|---|---|
| Date | 2019-06-22 15:29 +0200 |
| Message-ID | <d2bsget7tu7l5p1t3asdh6ukbuo1f9ekom@net.com> |
| In reply to | #57121 |
John Hasler <jhasler@newsguy.com>: > > I would like to see an editor that does find&replace only in certain > > columns. > What do you mean by that? I think he means S&R within a selected column block. Not all text editor have this feature. Geany has. Yrrah
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Date | 2019-06-22 10:16 -0500 |
| Message-ID | <87h88hr6p5.fsf@dhh.gt.org> |
| In reply to | #57124 |
Yrrah writes: > I think he means S&R within a selected column block. Not all text > editor have this feature. Geany has. Emacs can certainly do that. Just select your block and apply whatever operations you wish to it. -- John Hasler jhasler@newsguy.com Dancing Horse Hill Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | "F. Russell" <fr@random.info> |
|---|---|
| Date | 2019-06-22 13:45 +0000 |
| Message-ID | <qelbct01ehe@news2.newsguy.com> |
| In reply to | #57111 |
On Sat, 22 Jun 2019 04:31:34 -0700, Pedro Valdez wrote: > I would like to see an editor that does find&replace only in certain columns. > I don't know any FOSS editor that does so. > The concept of a "column" does not apply to a text file. Therefore, find & replace tools for "columns" would very understandably not be available.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 14:00 +0000 |
| Message-ID | <xzv893tag.ahuo@rooftop.invalid> |
| In reply to | #57125 |
F. Russell <fr@random.info> wrote: > On Sat, 22 Jun 2019 04:31:34 -0700, Pedro Valdez wrote: > >> I would like to see an editor that does find&replace only in certain columns. >> I don't know any FOSS editor that does so. >> > > The concept of a "column" does not apply to a text file. > Says you. > Therefore, find & replace tools for "columns" would very > understandably not be available. > anon@lowtide:~$ cat afile |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| |||||||||| |||||||||| ||ooo||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| |||||||||| |||ooo|||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| ||||ooo||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||ooo|||| |||||||||| |||||||||| ||ooo||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| anon@lowtide:~$ sed -e 's/\(.* .* .* .*\)\(ooo\)\(.* .*\)/\1XXX\3/g' afile |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| |||||||||| |||||||||| ||XXX||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| |||||||||| |||ooo|||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo||| |||||||||| ||||XXX||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||ooo|||| |||||||||| |||||||||| ||XXX||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| |||||||||| anon@lowtide:~$
[toc] | [prev] | [next] | [standalone]
| From | "F. Russell" <fr@random.info> |
|---|---|
| Date | 2019-06-22 15:54 +0000 |
| Message-ID | <qeliv40hmi@news1.newsguy.com> |
| In reply to | #57127 |
On Sat, 22 Jun 2019 14:00:55 +0000, owl wrote: >> >> The concept of a "column" does not apply to a text file. >> > > Says you. > Must I always have to repeat the obvious? The concept of a "column" does not apply to a text file. A text file is composed of "lines" with each line separated by, guess what, an end of line (EOL) character. That's all there is. Nothing more. You may wish to establish columns in some fashion but you will be entirely on your own. The rest of the world won't know what you are doing. You are venturing into territory known as "rich text format" (RTF) which is not nearly the same as text. So if you want columns, or formatting, or italics, etc. then go with RTF and an RTF editor: https://www.nllgg.nl/Ted
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 16:08 +0000 |
| Message-ID | <scv893ra.h3@rooftop.invalid> |
| In reply to | #57132 |
F. Russell <fr@random.info> wrote: > On Sat, 22 Jun 2019 14:00:55 +0000, owl wrote: > >>> >>> The concept of a "column" does not apply to a text file. >>> >> >> Says you. >> > > Must I always have to repeat the obvious? > > The concept of a "column" does not apply to a text file. > A text file is composed of "lines" with each line separated > by, guess what, an end of line (EOL) character. > > That's all there is. Nothing more. > Character positions within a line constitute natural columns, blockhead. But chosing a delimiter makes things a bit more useful.
[toc] | [prev] | [next] | [standalone]
| From | John Hasler <jhasler@newsguy.com> |
|---|---|
| Date | 2019-06-22 11:37 -0500 |
| Message-ID | <87d0j5r2yo.fsf@dhh.gt.org> |
| In reply to | #57134 |
owl writes: > Character positions within a line constitute natural columns Assuming fixed pitch. Which, of course we obviously are or we wouldn't be talking about columns of characters. Note that "column" in this context could also refer to the columns of text in a multicolumn format as in newspapers. -- John Hasler jhasler@newsguy.com Dancing Horse Hill Elmwood, WI USA
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E. R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-06-22 23:21 +0200 |
| Message-ID | <gn7kecFte3vU1@mid.individual.net> |
| In reply to | #57140 |
On 22/06/2019 18.37, John Hasler wrote:
> owl writes:
>> Character positions within a line constitute natural columns
>
> Assuming fixed pitch. Which, of course we obviously are or we wouldn't
> be talking about columns of characters.
We are all assuming fixed pitch since post number 1.
>
> Note that "column" in this context could also refer to the columns of
> text in a multicolumn format as in newspapers.
Which can be done in plain text. Rare, but possible, if the editor is
capable. You see tables in readme files, and tables are a form of
columns. I have written columns in plain text sometimes, and it was very
awkward because my editor did not support it.
--
Cheers,
Carlos E.R.
[toc] | [prev] | [next] | [standalone]
| From | DecadentLinuxUserNumeroUno@decadence.org |
|---|---|
| Date | 2019-06-23 14:44 +0000 |
| Message-ID | <qeo38n$8rf$3@gioia.aioe.org> |
| In reply to | #57140 |
John Hasler <jhasler@newsguy.com> wrote in news:87d0j5r2yo.fsf@dhh.gt.org: > owl writes: >> Character positions within a line constitute natural columns > > Assuming fixed pitch. Which, of course we obviously are or we > wouldn't be talking about columns of characters. > > Note that "column" in this context could also refer to the columns > of text in a multicolumn format as in newspapers. Might as well use a spreadsheet to keep things where you want them and make them accessible.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-23 19:44 +0000 |
| Message-ID | <hubab983ta.3@rooftop.invalid> |
| In reply to | #57175 |
DecadentLinuxUserNumeroUno@decadence.org wrote: > John Hasler <jhasler@newsguy.com> wrote in > news:87d0j5r2yo.fsf@dhh.gt.org: > >> owl writes: >>> Character positions within a line constitute natural columns >> >> Assuming fixed pitch. Which, of course we obviously are or we >> wouldn't be talking about columns of characters. >> >> Note that "column" in this context could also refer to the columns >> of text in a multicolumn format as in newspapers. > > Might as well use a spreadsheet to keep things where you want them and > make them accessible. sc FTW!
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-06-23 17:47 +0200 |
| Message-ID | <qeo6v4$7fg$1@dont-email.me> |
| In reply to | #57132 |
Il 22/06/19 17:54, F. Russell ha scritto: > On Sat, 22 Jun 2019 14:00:55 +0000, owl wrote: > >>> >>> The concept of a "column" does not apply to a text file. >>> >> >> Says you. >> > > Must I always have to repeat the obvious? > > The concept of a "column" does not apply to a text file. > A text file is composed of "lines" with each line separated > by, guess what, an end of line (EOL) character. > > That's all there is. Nothing more. > > You may wish to establish columns in some fashion but you > will be entirely on your own. The rest of the world won't > know what you are doing. not completely true. Both in win/office and in linux/LbO or Oo newlines (\n) / CR (\r) are "major" parsing items but tabular form is supported by "minor" parsing items, like "\t" (TAB) character most editors of high level supporting tables, and not using interlally pure ascii, can still parse TAB delimited plain text, and they also place in selections/clipboard ascii representation of the internal data using TABs I had to use this a lot of time, as I write docs with high level editors, but often have to submit some "true" tables to basic progarms to calculations, and they "see" the selection/clipboard as TAB separated fields (columns) and LF separated rows handy to be split by native array functions, nested. TAB are the default vertical parsing items independently of the fixed field size used in the (ASTONISHING !) example of OWL. A visually impressive example like that is still possible using non proportional fonts and padding with other blanks (spaces, dots or else) with no particular control meaning to editors. I found TAB useful as the information don't go lost even during multiple editors of low / high level (provided one, expecially in CODE editors, do not enable some special options for indentation like replace tabs with spaces or so). > > You are venturing into territory known as "rich text format" > (RTF) which is not nearly the same as text. but TAB is a character supported by every editor, even mousepad and leafpad in CODE oriented editors TABS acquire another meaning : indent (I met scintilla using OpenSCAD) > > So if you want columns, or formatting, or italics, etc. > then go with RTF and an RTF editor: surely more handy, but in need also padding with blanks and use of fixed size fonts is reasonable. Expecially in "sprintf / printf" generated output give good looking pure ascii > > https://www.nllgg.nl/Ted > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
| From | "F. Russell" <fr@random.info> |
|---|---|
| Date | 2019-06-22 16:07 +0000 |
| Message-ID | <qeljnk1hmi@news1.newsguy.com> |
| In reply to | #57127 |
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.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 16:33 +0000 |
| Message-ID | <dfas0t3a.n@rooftop.invalid> |
| In reply to | #57133 |
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.
[toc] | [prev] | [next] | [standalone]
| From | owl <owl@rooftop.invalid> |
|---|---|
| Date | 2019-06-22 16:46 +0000 |
| Message-ID | <z993rf.ahgu343@rooftop.invalid> |
| In reply to | #57136 |
owl <owl@rooftop.invalid> wrote:
> 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.
>
And of course, you could always do this...
anon@lowtide:~$ cat -n birdbrain.txt
1 Here cometh a bunch of ersatz columns.
2
3 They contain silly "ooo" content.
4
5 Here they be:
6
7 |||||||||| |||||||||| |||||||||| |||||||||| ||||ooo|||
8 |||||||||| |||||||||| |||||||||| ||ooo||||| ||||||||||
9 |||||||||| |||||||||| ||||ooo||| |||||||||| ||||||||||
10 |||ooo|||| |||||||||| |||||||||| |||||||||| ||||||||||
11 |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
12 |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
13 |||||||||| ||||ooo||| |||||||||| ||||ooo||| ||||||||||
14 |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
15 |||ooo|||| |||||||||| |||||||||| ||ooo||||| ||||||||||
16 |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
17 |||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
18
19 This ends the "ooo" silly column nonsense.
20
21 Now accept text as the limited format which it is.
anon@lowtide:~$ sed -i '7,17{s/\(.* .* .* .*\)\(ooo\)\(.* .*\)/\1XXX\3/g}' birdbrain.txt
anon@lowtide:~$ cat birdbrain.txt
Here cometh a bunch of ersatz columns.
They contain silly "ooo" content.
Here they be:
|||||||||| |||||||||| |||||||||| |||||||||| ||||ooo|||
|||||||||| |||||||||| |||||||||| ||XXX||||| ||||||||||
|||||||||| |||||||||| ||||ooo||| |||||||||| ||||||||||
|||ooo|||| |||||||||| |||||||||| |||||||||| ||||||||||
|||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
|||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
|||||||||| ||||ooo||| |||||||||| ||||XXX||| ||||||||||
|||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
|||ooo|||| |||||||||| |||||||||| ||XXX||||| ||||||||||
|||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
|||||||||| |||||||||| |||||||||| |||||||||| ||||||||||
This ends the "ooo" silly column nonsense.
Now accept text as the limited format which it is.
anon@lowtide:~$
[toc] | [prev] | [next] | [standalone]
Page 1 of 5 [1] 2 3 4 5 Next page →
Back to top | Article view | alt.os.linux
csiph-web