From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 898E923347 for ; Thu, 16 May 2024 08:53:40 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 8B39E434A7; Thu, 16 May 2024 16:53:36 +1000 (AEST) Received: from freefriends.org (frenzy.freefriends.org [198.99.81.75]) by minnie.tuhs.org (Postfix) with ESMTPS id 844AF432DD for ; Thu, 16 May 2024 16:53:28 +1000 (AEST) X-Envelope-From: arnold@skeeve.com Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 44G6pvJT018073 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 00:51:57 -0600 Received: (from arnold@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 44G6pi8G018059; Thu, 16 May 2024 00:51:44 -0600 From: arnold@skeeve.com Message-Id: <202405160651.44G6pi8G018059@freefriends.org> X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to arnold@skeeve.com using -f Date: Thu, 16 May 2024 00:51:43 -0600 To: tuhs@tuhs.org, dave@horsfall.org References: In-Reply-To: User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID-Hash: I352NNUJXCYLM2KQ32ET224VWMIY6O2U X-Message-ID-Hash: I352NNUJXCYLM2KQ32ET224VWMIY6O2U X-MailFrom: arnold@skeeve.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Be there a "remote diff" utility? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Maybe diff -u <(ssh host1 cat file1) <(ssh host2 cat file2) ? That could be put into a shell script that does the approriate text manipulations on the original $1 and $2. HTH, Arnold Dave Horsfall wrote: > Every so often I want to compare files on remote machines, but all I can > do is to fetch them first (usually into /tmp); I'd like to do something > like: > > rdiff host1:file1 host2:file2 > > Breathes there such a beast? I see that Penguin/OS has already taken > "rdiff" which doesn't seem to do what I want. > > Think of it as an extension to the Unix philosophy of "Everything looks > like a file"... > > -- Dave