cm0002@piefed.world to Programmer Humor@programming.devEnglish · 16 hours agoExit Signlemmy.mlimagemessage-square56fedilinkarrow-up1703arrow-down19 cross-posted to: programmerhumor@lemmy.ml
arrow-up1694arrow-down1imageExit Signlemmy.mlcm0002@piefed.world to Programmer Humor@programming.devEnglish · 16 hours agomessage-square56fedilink cross-posted to: programmerhumor@lemmy.ml
minus-squareHeuristicAlgorithm9@feddit.uklinkfedilinkarrow-up11·15 hours agoI think it’s w = write and q = quit so the letters make more sense
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up10·12 hours agoNo, it isn’t, x writes only when changes have been made, while w writes unconditionally.
minus-squarejosefo@leminal.spacelinkfedilinkarrow-up1·7 hours agoWhy would you want to write again if no changes were made? It’s some obtuse behavior
minus-squaredarklamer@lemmy.dbzer0.comlinkfedilinkarrow-up3·7 hours agoOne obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.
I think it’s w = write and q = quit so the letters make more sense
Also :x is the same as :wq
No, it isn’t, x writes only when changes have been made, while w writes unconditionally.
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.
TIL. Ty!