• 114 Posts
  • 110 Comments
Joined 10 months ago
cake
Cake day: September 7th, 2023

help-circle



















  • I have never interpreted this as making fun of Rick Astley, just a stupid joke to trick people into watching something. I totally agree, he is very talented.

    The meme has been a huge benefit to him as well, his popularity skyrocketed with a generation that wasn’t around when he was first popular and led to tons of listens and sales of his music, heck they even had him play at the Macy’s day parade!

    As I recall, I read an interview with him, and he didn’t quite understand the meme, but he was thrilled it had blown up his popularity again and introduced so many new people to his music.





  • Lydia_K@startrek.websitetoLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    English
    arrow-up
    57
    arrow-down
    1
    ·
    6 months ago

    I use awk all the time, nothing too fancy, but when you need to pull out elements of text it’s usually way easier than using cut.

    awk {’ print $3 '} will pull the third element based on your IFS variable (internal field separater, default is whitespace)

    awk {’ print $NF ‘} gets you the last element, and awk {’ print $(NF-1) '} gets you one element from the last, and so on.

    Basic usage but so fast and easy for so many everyday command line things.