904
Exit Sign (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] darklamer@lemmy.dbzer0.com 12 points 2 weeks ago

No, it isn't, x writes only when changes have been made, while w writes unconditionally.

[-] josefo@leminal.space 1 points 2 weeks ago

Why would you want to write again if no changes were made? It's some obtuse behavior

[-] darklamer@lemmy.dbzer0.com 5 points 2 weeks ago

One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.

this post was submitted on 22 Sep 2025
904 points (100.0% liked)

Programmer Humor

26762 readers
2501 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS