cm0002@piefed.world to Programmer Humor@programming.devEnglish · 27 days agoExit Signlemmy.mlexternal-linkmessage-square62fedilinkarrow-up1193arrow-down12
arrow-up1191arrow-down1external-linkExit Signlemmy.mlcm0002@piefed.world to Programmer Humor@programming.devEnglish · 27 days agomessage-square62fedilink
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up3·27 days agoNo, it isn’t, x writes only when changes have been made, while w writes unconditionally.
minus-squarejosefo@leminal.spacelinkfedilinkarrow-up0arrow-down1·26 days agoWhy would you want to write again if no changes were made? It’s some obtuse behavior
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up3·26 days agoOne obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.
Also :x is the same as :wq
No, it isn’t, x writes only when changes have been made, while w writes unconditionally.
TIL. Ty!
Why would you want to write again if no changes were made? It’s some obtuse behavior
One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.