You must log in or register to comment.
.“:>>” is “append null” right? Do you get a file with a single ASCII NUL or is it truly empty?
$ :|wc -c 0 $ touch /tmp/f; :>>/tmp/f; wc -c /tmp/f 0 /tmp/f
Not really. I believe : is the “true” builtin. So it’s like running a program that exits with zero and writes nothing to stdout. The >> streams the empty stdout into the named file.