• owsei
    link
    fedilink
    arrow-up
    10
    ·
    8 months ago

    or :>>file then you don’t need to interrupt

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

      .“:>>” is “append null” right? Do you get a file with a single ASCII NUL or is it truly empty?

      • owsei
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        Yeah!

        it’s basically a noop, I use it as a placeholder when I’m writing a script, since bash doesn’t accept code blocks with no commands