you are viewing a single comment's thread
view the rest of the comments
[–] 35 points 2 years ago (1 child)

Because now touch does two things.

Without touch, we could "just" use the shell to create files.

: > foo.txt
  • source
  • parent
  • hideshow 2 child comments
  • [–] 21 points 2 years ago (1 child)

    Touch does one thing from a “contract” perspective:

    Ensure the timestamp of is

  • source
  • parent
  • hideshow 2 child comments