GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 12-Apr-2025 02:14:39 JST Sun Microdevil Pte Ltd Sun Microdevil Pte Ltd

    So what's a good diff viewer that doesn't choke when told to compare a couple ~20 MiB files

    Looking for something in the style of meld or vimdiff

    In conversation about 2 months ago from uwu.social permalink
    • Embed this notice
      SuperDicq (superdicq@minidisc.tokyo)'s status on Saturday, 12-Apr-2025 02:14:37 JST SuperDicq SuperDicq
      in reply to

      @koakuma@uwu.social GNU diffutils?

      In conversation about 2 months ago permalink
      翠星石 likes this.
    • Embed this notice
      SuperDicq (superdicq@minidisc.tokyo)'s status on Saturday, 12-Apr-2025 02:17:16 JST SuperDicq SuperDicq
      in reply to

      @koakuma@uwu.social For optimal viewing experience you can just pipe diff into less diff foo.txt bar.txt | less. I would recommend doing that.

      In conversation about 2 months ago permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Saturday, 12-Apr-2025 11:14:27 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • SuperDicq

      @koakuma @SuperDicq -y for side-by-side and --color
      Although I tend to just use git diff --no-index for off-repo files here, specially because diffutils lacks features like word-diff.

      And use tkdiff from time to time to get line-by-line diff but with word-diff-like highlights.

      In conversation about 2 months ago permalink
    • Embed this notice
      Sun Microdevil Pte Ltd (koakuma@uwu.social)'s status on Saturday, 12-Apr-2025 11:14:29 JST Sun Microdevil Pte Ltd Sun Microdevil Pte Ltd
      in reply to
      • SuperDicq

      @SuperDicq `diff` can visualize as side-by-side comparison with color highlighting? :cirnothinking:

      In conversation about 2 months ago permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Saturday, 12-Apr-2025 22:13:21 JST 翠星石 翠星石
      in reply to
      • SuperDicq
      @koakuma @SuperDicq `diff --side-by-side --color a b`
      In conversation about 2 months ago permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Sunday, 13-Apr-2025 17:18:01 JST 翠星石 翠星石
      in reply to
      • SuperDicq
      • Taylan (Now 18% More Deranged)
      @taylan @SuperDicq @koakuma Your terminal emulator is incorrectly configured - you'll need to pass --color=always to get colour.
      In conversation about 2 months ago permalink
    • Embed this notice
      Taylan (Now 18% More Deranged) (taylan@fedi.feministwiki.org)'s status on Sunday, 13-Apr-2025 17:18:02 JST Taylan (Now 18% More Deranged) Taylan (Now 18% More Deranged)
      in reply to
      • 翠星石
      • SuperDicq
      @Suiseiseki @SuperDicq @koakuma

      Don't forget --suppress-common (can be shortened to --suppress-c). Also, --side-by-side has a shorthand version: -y

      In summary:

      diff -y --suppress-c --color file1 file2

      However, some brief testing seems to indicate that --color makes no difference in the side-by-side mode of operation. It doesn't seem to use color. Unfortunate.
      In conversation about 2 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.