home.social

#edmastery — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #edmastery, aggregated by home.social.

fetched live
  1. Reading @mwl's #EdMastery and taking notes in VSCode:

    ka     -- set a mark "a," equivalent to vi ma
    *,n
    1	=      --  display the number of lines in the file
    2	.=     --  display the current line number
    3	;      --  same as .,$
    4	-,+p   -- display the current line with a single line of context before and after
    5	z3     -- display the current line and three more
    6	2z2n   -- display line 2 and two more, with line numbers
    7	ka     -- set a mark "a," equivalent to vi ma
    8	'a,'bn -- print lines with line numbers between marks "a" and "b"
    *1,3s/-- /--/
    *,n
    1	=      -- display the number of lines in the file
    2	.=     -- display the current line number
    3	;      -- same as .,$
    4	-,+p   -- display the current line with a single line of context before and after
    5	z3     -- display the current line and three more
    6	2z2n   -- display line 2 and two more, with line numbers
    7	ka     -- set a mark "a," equivalent to vi ma
    8	'a,'bn -- print lines with line numbers between marks "a" and "b"
    *w
    415
    *
    

    Did I say VSCode? psyche!! I meant #ed, of course! 🤣

  2. After having to embarrass myself earlier by asking one of our robot overlords to help me drive ed(1) I have ordered a copy of @mwl's book. Yes, the one he released as an . Have now read the version and ... it contains just what I needed and what CoPilot helped me with. I therefore recommend that you all buy it.

    @ed1conf

  3. Tror jag vinner VM i nördighet med denna julklapp till mig själv. Ska avnjuta den i soffan under mellandagarna för att varva ner ordentligt

    Ingen här som kör ed?

    #ed #edMastery #editor

  4. I will never reach inbox zero.

    My inbox has a message from Ken Thompson giving me a quote to promote #EdMastery, and it will sit in front and center in my inbox FOREVER.

  5. "See? Microsoft Word has nothing on ed. NOTHING"

    #EdMastery

  6. #drawterm'ing into my #9front cpu server in text mode using my #eink tablet, editing text with only #ed. Does this count as a non-glass paper #terminal? 🤔

    #EdMastery @mwlucas @ed1conf

  7. “If you write a #regex that looks for slashes, it starts to resemble the jaw of a Tyrannosaurus.”
    @mwlucas, #edmastery

    😂😂😂

  8. @mwlucas I want to tell you that #edmastery is very good to read, especially for a non-native reader. The language is easy to understand and the structure is easy to follow.

    I currently read 50% and I like it! 🙂

  9. BTW:
    `vi(1)` also has an __"ex-mode"__ which is sort of a builtin `ed(1)`.

    I study and practice `ed(1)` to be hip, to learn `vi(1)`'s `ex` and __REGEX__-es.

    Learning `ed(1)` is like learning Latin/Old Greek because it's ancient and "used everywhere" - both availability (even when all else fails) and that it's influence can be felt "everywhere".
    Another bonus will be the ability to run `edbrowse(1)` efficiently!
    @mwlucas has a great book called "ED MASTERY".