• caseyweederman@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    21 hours ago

    Yeah but I keep trying to pipe the output back into the original file which ends up empty due to how pipe and redirect interact.
    I know there must be a grown-up way to do it but I inevitably resort to writing it to filename2 and then running mv filename2 filename.