Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

System going down at 1:45 this afternoon for disk crashing.


computers / comp.os.linux.misc / any editors that limit find/search to certain columns?

SubjectAuthor
* any editors that limit find/search to certain columns?Suzy Wong
+- Re: any editors that limit find/search to certain columns?Andreas Kohlbach
+- Re: any editors that limit find/search to certain columns?Carlos E.R.
+- Re: any editors that limit find/search to certain columns?Dan Espen
`- Re: any editors that limit find/search to certain columns?Grant Taylor

1
any editors that limit find/search to certain columns?

<tspif6$3t15e$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9832&group=comp.os.linux.misc#9832

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: suzy...@outlook.com (Suzy Wong)
Newsgroups: comp.os.linux.misc
Subject: any editors that limit find/search to certain columns?
Date: Sat, 18 Feb 2023 11:59:31 +0800
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <tspif6$3t15e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Feb 2023 03:59:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="57b5739d7c21bc9f5c104d67a0da1348";
logging-data="4097198"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y1lB5xbDvJd37dVyMj/XKp6NhcoN1DK0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.15
Cancel-Lock: sha1:Jc4ZDInCNVLPtEJmih0svT0n0xU=
X-Mozilla-News-Host: news://news.eternal-september.org:119
 by: Suzy Wong - Sat, 18 Feb 2023 03:59 UTC

In a job some years ago, we had a real nice editor, maybe it was
Ultraedit. The job files were a throwback to punch cards, so you would
do a find/replace restricted to columns 1-8 for example.
I haven't seen any FOSS editor with this column option.
Does anybody know one?

Re: any editors that limit find/search to certain columns?

<87a61b31ci.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9841&group=comp.os.linux.misc#9841

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: any editors that limit find/search to certain columns?
Date: Sat, 18 Feb 2023 01:59:57 -0500
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <87a61b31ci.fsf@usenet.ankman.de>
References: <tspif6$3t15e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="1f31eb71fb74d7fce94ba75da97fb3d6";
logging-data="4136470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9zwH2W3fmGSi/Tf5b1IQp"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:jAYkWZGaXqXLVyBN2i1AI4oB2fw=
sha1:aychVS38cZ0mffAAbwndzZVC3Gs=
 by: Andreas Kohlbach - Sat, 18 Feb 2023 06:59 UTC

On Sat, 18 Feb 2023 11:59:31 +0800, Suzy Wong wrote:
>
> In a job some years ago, we had a real nice editor, maybe it was
> Ultraedit. The job files were a throwback to punch cards, so you would
> do a find/replace restricted to columns 1-8 for example.
> I haven't seen any FOSS editor with this column option.
> Does anybody know one?

Combine "grep" with "cut" may be?

Or may be "grep" can limit itself already. Can you give an example?
--
Andreas

https://news-commentaries.blogspot.com/

Re: any editors that limit find/search to certain columns?

<9ko6cjxkkg.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9850&group=comp.os.linux.misc#9850

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: any editors that limit find/search to certain columns?
Date: Sat, 18 Feb 2023 12:15:53 +0100
Lines: 15
Message-ID: <9ko6cjxkkg.ln2@Telcontar.valinor>
References: <tspif6$3t15e$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net B3LffXhiBFhM8DwS7nSmtAKN5U0LshaYYKVhf8wtmPNjLjSl5a
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:ehqZgHQEUjWFA89lXS0zf1GXZ8k=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <tspif6$3t15e$1@dont-email.me>
 by: Carlos E.R. - Sat, 18 Feb 2023 11:15 UTC

On 2023-02-18 04:59, Suzy Wong wrote:
> In a job some years ago, we had a real nice editor, maybe it was
> Ultraedit. The job files were a throwback to punch cards, so you would
> do a find/replace restricted to columns 1-8 for example.
> I haven't seen any FOSS editor with this column option.
> Does anybody know one?

jstar should have it, but it fails. Seems a bug.

You have to set column mode (^OX), then mark start and end of block
(^K^B, ^K^K), then search inside block (^Q^F, option 'k').

--
Cheers, Carlos.

Re: any editors that limit find/search to certain columns?

<tsqgen$m7v$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9855&group=comp.os.linux.misc#9855

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dan1es...@gmail.com (Dan Espen)
Newsgroups: comp.os.linux.misc
Subject: Re: any editors that limit find/search to certain columns?
Date: Sat, 18 Feb 2023 07:31:18 -0500
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <tsqgen$m7v$1@dont-email.me>
References: <tspif6$3t15e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="3974f502a40c5c8b0507c68321b2006b";
logging-data="22783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8GzqL7dE9/1D1vyHigADzE4sZWBXjd1A="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Cancel-Lock: sha1:ETqDBs+Lsy6IZ5NBmqKOsSHrwzE=
 by: Dan Espen - Sat, 18 Feb 2023 12:31 UTC

Suzy Wong <suzywng@outlook.com> writes:

> In a job some years ago, we had a real nice editor, maybe it was
> Ultraedit. The job files were a throwback to punch cards, so you would
> do a find/replace restricted to columns 1-8 for example.
> I haven't seen any FOSS editor with this column option.
> Does anybody know one?

https://emacs.stackexchange.com/questions/52483/search-within-column-or-rectangle

--
Dan Espen

Re: any editors that limit find/search to certain columns?

<tsr3gb$et3$2@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9863&group=comp.os.linux.misc#9863

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.os.linux.misc
Subject: Re: any editors that limit find/search to certain columns?
Date: Sat, 18 Feb 2023 10:54:32 -0700
Organization: TNet Consulting
Message-ID: <tsr3gb$et3$2@tncsrv09.home.tnetconsulting.net>
References: <tspif6$3t15e$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Feb 2023 17:56:27 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="15267"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <tspif6$3t15e$1@dont-email.me>
Content-Language: en-US
 by: Grant Taylor - Sat, 18 Feb 2023 17:54 UTC

On 2/17/23 8:59 PM, Suzy Wong wrote:
> In a job some years ago, we had a real nice editor, maybe it was
> Ultraedit. The job files were a throwback to punch cards, so you would
> do a find/replace restricted to columns 1-8 for example.
> I haven't seen any FOSS editor with this column option.
> Does anybody know one?

I usually use awk for things that are column specific.

Or I'll do visual block mode selection in vim and apply a regex thereto.

--
Grant. . . .
unix || die

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor