Sujet : Re: How to edit HTML source file on Windows in one step (not two)?
De : apple.universe (at) *nospam* posteo.net (Eric Pozharski)
Groupes : alt.comp.os.windows-10 alt.comp.software.firefox comp.editorsSuivi-à : comp.editorsDate : 22. Jan 2025, 18:57:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnvp2cbh.lhh.apple.universe@freight.zombinet>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : slrn/1.0.3 (Linux)
["Followup-To:" header set to comp.editors.]
# a.c.o.w10 and a.c.s.f are irrelevant for this branch now
with <
vmjqni$2r1f$1@nnrp.usenet.blueworldhosting.com> Marion wrote:
On Sun, 19 Jan 2025 09:43:57 +0100, Janis Papanagnou wrote :
PS (as an aside): While IDEs usually try to increase their feature
set for a yet better support of their dedicated tasks Emacs is often
[humorously] despised (especially by Vi users) as not being an editor
but more of an IDE.
The problem set is (& always was) to edit HTML templates in a single
step.
>
CHANGE HTML FROM: <A HREF=https://www.amazon.com/s?k=foo+bar>(amazon)
foo bar</A><P> <A
HREF=https://www.amazon.com/vine/vine-items?search=foo%20bar>(vine)
foo bar</A><P>
>
CHANGE HTML TO: <A HREF=https://www.amazon.com/s?k=windows+pc>(amazon)
windows pc</A><P> <A
HREF=https://www.amazon.com/vine/vine-items?search=windows%20pc>(vine)
windows pc</A><P>
*SKIP* [ 16 lines 1 level deep]
Has anyone proposed a simpler one-step solution than that above? If
so, I'd love to see it as I'm seeking real working actual solutions.
Please define 'simpler one-step solution'. Preferably in terms others
can comprehend. (Also, "comprehend" and "value" are two distinct
concepts).
:%s,\<foo\>\(.\+\{-1,}\)\<bar\>,windows\1pc,gc
This looks pretty simple to me. But I'm not into IDEs, so there's that.
-- Torvalds' goal for Linux is very simple: World DominationStallman's goal for GNU is even simpler: Freedom