gnemmi, to linux
@gnemmi@mastodon.sdf.org avatar

Im not sure I ever shared this link in here .. but since I always find myself coming back to it, I'll go ahead and share it anyway.

This is the most helpful resource on #sed that I've ever found!

Thank you Mr. Bruce Barnett! 🤗

https://www.grymoire.com/Unix/Sed.html

#RUNBSD #BSD #Linux

Emmaf_77, to random French
@Emmaf_77@piaille.fr avatar

Ma super-kiné m’a donné tout un tas d’exercices à faire chaque jour pour remettre mon épaule.

Je confirme que si j’étais née plus tôt, je serais déjà morte depuis longtemps, vivr la médecine douce! 😊 #maladiechronique #sed

montagnerurale, to random French

Team douleurs chroniques, en passant à Lidl, j'ai vu qu'ils avaient des tas de coussins, tapis, manchons chauffants à des prix relativement modiques
#fibromyalgie
#DouleursChroniques
#SED

j9t, to random
@j9t@mas.to avatar

https://webglossary.info/ is based on a book (“The Web Development Glossary”). Though both book and website use Markdown, I had to write a script that converts everything so that the book can fuel the site. (This works, and automated book–site conversion is pretty cool!)

Working on that script has been weird, some peers suggested to use Node instead, but I—kind of really liked writing it, and enjoyed working quite a bit with #sed!

(Is it just me, or are shell scripts really fun?)

erlendaasland, to tetris

Thanks, @vstinner for introducing me to sed tetris: https://github.com/uuner/sedtris

#sed #tetris #obfuscatedcode

YesIKnowIT, to linux
@YesIKnowIT@mastodon.social avatar

Right-align text on 80 columns:
sed -E ':a /.{80}/!{s/^/ /;ba}' file

#Shell #Sed #Linux

itnewsbot, to Nintendo

Super Mario In sed, Sort Of - We definitely needed to reach for a sed reference guide for this one, but looking ... - https://hackaday.com/2023/08/09/super-mario-in-sed-sort-of/ #supermarioworld #softwarehacks #graphical #nintendo #games #sed

hl, to haskell
@hl@social.lol avatar

but programming language names:
Ghost in the
Is For Heros
In The Name Of The
Schindler's
Star Wars: The Awakens
Manchester By the #C
The Truman
Bringing Up
Anyone get any other good ideas?

Kazinator,

@hl

Night of the Living #Sed

A Nightmare in #Elm Codebase

The Little #Pascal s

#BASIC Instinct

#Snobol Express [https://www.imdb.com/title/tt0069291/]

The #BourneShell Identity

The Man (Page) on #Eiffel 's (Numeric) Tower [https://www.imdb.com/title/tt0041628/]

#TCL Me

Next, #Goal Wins? [https://www.imdb.com/title/tt10767052/?ref_=fn_al_tt_2]

Single word:

Prolog [https://www.imdb.com/title/tt4955294/]

Shakespeare:

Much #Ada About Nothing
#MacLisp
#Asm : You Like It!
All Is Hell that Ends Abnormally
Love's Labour's ... #Lisp!

nilmethod, to ruby

When #asdf is taking way too long to install #ruby so you just bust out #sed instead.

pixelcode, to random
@pixelcode@social.tchncs.de avatar

During the East German uprising of 1953, more than 100 protestors were murdered by russian soldiers and Eastern German police forces or executed before drumhead court-martials. Thousands were imprisoned for demanding free elections and the resignation of the #SED government.

Today, 32 out of 39 members of the Left Party's parliamentary group in the #Bundestag did not attend the parliament's commemoration ceremony on the occasion of 17 June.

The Left Party is an indirect successor to the SED. 🤡

jan_j, to linux German
@jan_j@chaos.social avatar

Okay, ich brauche Hilfe. Ich versuche mit #sed einen Text zu ersetzen, aber ich es funktioniert einfach nicht.
Gesucht: 0.0427 Tc[(10)]
Mein Command:
sed -ir 's/0\.0427 Tc\\(10/XXX/g' temp.pdf
Er will einfach nicht auf diese Klammern match'n.
Was mache ich falsch? [#linux

--- Edit: Gelöst.
sed -ri … (argument-order matters… duh)

apontious, to random
@apontious@dice.camp avatar

Welp. I guess I’m learning fucking #sed

apontious,
@apontious@dice.camp avatar

I learned #sed!

Well, more accurately learned enough about sed to do exactly what I needed to do, and then STOPPED.

ctietze, to random
@ctietze@mastodon.social avatar

Is it at all possible to use jq to replace JSON values with the output of a custom command?

Example: parse the value as a date, then add 3 days, then make this a string; replace the old value with this one.

The replacing itself with #jq is simple, but I can't figure out how to "pipe" values

ctietze,
@ctietze@mastodon.social avatar

Maybe this is a case for #jq to pretty-print the #JSON, then #sed/#awk to replace values?

otheorange_tag, to random
@otheorange_tag@mstdn.social avatar

Question for you young whippersnappers, is #YAML at least as much a language as #SED? Does it have some kind of stdin/stdout? looping? Trying to figure out what the next (21st) language to write a gui cloud app calculator in (yes as a matter of fact this DOES mean I did this in SED)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • ethstaker
  • InstantRegret
  • tacticalgear
  • rosin
  • love
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • cubers
  • DreamBathrooms
  • provamag3
  • mdbf
  • cisconetworking
  • GTA5RPClips
  • modclub
  • khanakhh
  • everett
  • Leos
  • osvaldo12
  • normalnudes
  • tester
  • Durango
  • anitta
  • JUstTest
  • All magazines