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

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

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      9 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
        ·
        9 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