Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 7 days ago

Exit Sign

lemmy.ml

message-square
72
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
906

Exit Sign

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 7 days ago
message-square
72
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • glitches_brew@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    7 days ago

    Also :x is the same as :wq

    • darklamer@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      13
      ·
      7 days ago

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

      • glitches_brew@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        7 days ago

        TIL. Ty!

      • josefo@leminal.space
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        6 days ago

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

        • darklamer@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          6 days ago

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

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.33K users / day
  • 6.14K users / week
  • 9.11K users / month
  • 19.9K users / 6 months
  • 1 local subscriber
  • 26.6K subscribers
  • 1.69K Posts
  • 58.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org