RSS - private

GNUkko Sauvage (eris-ng) :neorenard:

@eris@p.enes.lv

This is an alt of @Ukko@akko.disqordia.space

latvian, in their 25s, monogam, straight, he/him lesbian, ace-spec, slut. anarcho-monarchist. A theymab transtrender. I speak lv/en/ru but can pretend to understand other languages sometimes.

admin of this instance, don't ask for an invite unless you're a frien :3

the sadistic playful puppy you’ve been warned about.

Ionizing particles, true Ukkos, fake Erises, and Disqordians DNI

Minors: please consult with your parent(s)/guardian before following and/or interacting; and please do not interact with lewd and/or sexual content unless you are of the age of majority

Current PFP is Senjougahara Hitagi, specifically from https://www.tumblr.com/manimarough/785249534734417921
Previous PFP was dead Marsey
Previous² PFP was A.B.A. from Guilty Gear Strive
Previous³ PFP was some image 40 sent me
Previous⁴ PFP was https://www.kotobukiya.co.jp/en/product/detail/p4934054034673/
Previous⁵ PFP was https://www.furaffinity.net/view/47773488/

My ducal court:

Wife Mother: @wife@p.enes.lv
The cheetah sitting in the corner of the court room: @f_o_u_r_t_y@shrine.moe
The messenger to the realms: @meso@the.asbestos.cafe
Translator: [Insert une's goreslut username]

Found my unfunny quotes
"@ukko what" — @ezio@akko.wtf
'I thought "ukko" was a Indonesian gal?' — Cent
"@Ukko did you have to post this?" - Jade Disarray
"@Ukko ukko." - @mia@void.rehab

CC @une@cawfee.club

eriscon is not happening
1 ★ 0 ↺

[?]GNUkko Sauvage (eris-ng) :neorenard: »
@eris@p.enes.lv

I think sed (or ed) is not the right approach here, just implement the thing in your favorite scripting language, but if you want to see the disgusting thing I wrote:

─ cat fileA      
hello
world
how are you doing on this fine day
I am doing quite START fine
what about you?
oh yeah whatever
blabla END
honestly i dont care i am a meanie beanie muhaahahaha
END
damn, another end huh
─ cat fileB
this is the
new content
in between the tags :)
─ ed -s fileA
# This is all typed in, you can save it in a file and do ed -s < edscript
# Add newlines after STARTs and before ENDs
g/START/s/START/START\
/
g/END/s/END/\
END/
# Delete everything between the first START and the next END
1;/START/+1;/END/-1d
# Read in the other file in between
-1r fileB
# Get rid of newlines after STARTs and before ENDs
g/START/.;+1j
g/END/-1;+1j
w
q
─ cat fileA
hello
world
how are you doing on this fine day
I am doing quite STARTthis is the
new content
in between the tags :)END
honestly i dont care i am a meanie beanie muhaahahaha
END
damn, another end huh
Anyways if you don't want to write your own script and would rather have a shell script with sed and such, you should probably do something similar to what I did:
1. add extra newlines similarly to what I did, but use some sed s/START/START\n/ (idk if that \n is correct)
2. use awk to filter out the unwanted content or perhaps split the file in pre-head and post-head parts, I'm not sure sed is able to store enough context to do it
3. cat pre-head new-head post-head to join them together
4. optionally if it's important, run a sed to remove extra newlines added in step (for HTML head tags it doesn't matter)

CC: @apophis@kill-corporations.enterprises

    History