home.social

#mmmmm — Public Fediverse posts

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

  1. Good Morning #Canada
    Canada has given the world so much (time zones, basketball, insulin, U.N. Peacekeepers...) but nothing is as unappreciated as the butter tart.
    Who knew that our favourite pastry could be divisive, from its history to ingredients (raisins belong, pecans don't) to whether it should be our national dessert. Some say Canadians are better than butter tarts as an icon. IMO that's highly insulting to butter tarts.

    #CanadaIsAwesome #ButterTarts #MMMMM
    cbc.ca/radio/history-of-butter

  2. CW: bash question

    so, i can use toilet to generate a banner that says whatever. it's just a bunch of lines, saved in a temporary file called tmp0:

    toilet shitcore > tmp0

    this gives me (may look odd on your screen, haha):

    mmmm m m mmmmm mmmmmmm mmm mmmm mmmmm mmmmmm
    #" " # # # # m" " m" "m # "# #
    "#mmm #mmmm# # # # # # #mmmm" #mmmmm
    "# # # # # # # # # "m #
    "mmm#" # # mm#mm # "mmm" #mm# # " #mmmmm

    from this temp file i can extract each line by using sed

    sed -n '1p' tmp0

    that would give me the first line. for the 2nd i'd do

    sed -n '2p' tmp0

    and i could go on for the remaining three lines.. but that would be silly when i can make ten hello shitcores by doing this:

    for ((i = 0 ; i < 10 ; i++)); do
    echo "hello shitcore"
    done

    so my question is.. how tf do i combine my knowlegde here and make a loop that extracts each line from my toilet output and puts it somewhere?