romanzolotarev.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
/pub
Admin account
@hi@romanzolotarev.com

Search results for tag #shell

[?]R.L. Dane :Debian: :OpenBSD: :FreeBSD: ๐Ÿต :MiraLovesYou: [he/him/my good fellow] ยป 🌐
@rl_dane@polymaths.social

#Unix / #sed / #awk / #shell ninjas,

What's the easiest way to suppress anything more than 2-3 blank lines at a time? I don't want to remove all blank lines, just excessive blank lines.

I'm coming up with a simple shell function to strip html tags, because I don't like the way terminal browsers re-flow/wrap the text when you use the -dump|--dump option.

The way I'd normally do it is something like:

sed 's/$/{lineend}/' |tr -d '\n' |sed -E 's/(\{lineend\}){3,}/\1\1\1/g; s/\{lineend\}/\n/g'

โ€ฆbut I figure there's probably a more elegant way?

    [?]Hyde ๐Ÿ“ท ๐Ÿ–‹ :debian: ยป 🌐
    @hyde@lazybear.social

    After reading @rl_dane's post, I wanted to share how I manage my , and add some quick using .


    lazybea.rs/ils-bookmarks-and-n

      [?]Hyde ๐Ÿ“ท ๐Ÿ–‹ :debian: ยป 🌐
      @hyde@lazybear.social

      carnival this month: "The motion that changed everything".

      Write about it on your , and send me a link that I will add to this post


      lazybea.rs/vim-carnival-202606

        [?]Hyde ๐Ÿ“ท ๐Ÿ–‹ :debian: ยป 🌐
        @hyde@lazybear.social

        So far for June's carnival, I got only ... @rl_dane ๐Ÿ˜”

        Any user that would like to write about it?