From owner-freebsd-questions@freebsd.org Thu Jun 14 16:33:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2758F1012104 for ; Thu, 14 Jun 2018 16:33:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B64A73385 for ; Thu, 14 Jun 2018 16:33:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPA (Nemesis) id 0M89Y1-1gOt6e2dDV-00vdmG; Thu, 14 Jun 2018 18:33:45 +0200 Date: Thu, 14 Jun 2018 18:33:44 +0200 From: Polytropon To: Lowell Gilbert Cc: mayuresh@kathe.in, freebsd-questions@freebsd.org Subject: Re: mailx anyone? Message-Id: <20180614183344.2eebdc67.freebsd@edvax.de> In-Reply-To: <44po0uyqrp.fsf@lowell-desk.lan> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180613204623.3705ae36.freebsd@edvax.de> <44po0uyqrp.fsf@lowell-desk.lan> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:tUVgu3e8DuDF0ns2gJIxVci1LBMHGn8kx8/3Kcc5mzGsu2tzFts 1yEqO70hW8TNI93zklrxRzt5miri+5OB8v/F5Pgsx3vjF7Ep5E0HrtpVz7VAgu7Cml7k7q4 xfKyckpvvVCdEbQGYppBFKG1xgh1DsW+ZFtJeuUmXAxEszeTAd6RNM9K9IqAFHki2y4PjnC YBx6vOU6wxNBzVn8Sodyg== X-UI-Out-Filterresults: notjunk:1;V01:K0:13oPorBv2+o=:VRiUgL/Kc/IGV/Rvyzvzpt 33FhURxpao4pW+Kzw9G7E7kK5f0mPIZ0ocMlElhXU8q/A5yvV1WPNVDNAL6PaTFs0h17Ueuc8 g/izFikbxJMUZM6wd1LPAsdHpxb5kPdtwvU3kGk+sHsOcKnFrfKsd7NGYtZ940/pgNqqbdW3O rh1w7VPgCmJ8tijvL/X2Qdtlv3QZ4816lGWLqJdkqFO5uF5g7HDDn1EXqmhR2R+CIb7hNlV11 B/K9KPFIR8Yy4ZlXOxVhV8VWtCOPgnkJwtSLg0E8UMH2VYpKvRaeYWTKJWPPXsJRsFW104fnB LS+4PG9KMnAkWdSsTGk9V5HU3C+g/twj++RFsM81u3vparUo8kYt2rc6LYgOHUja27Wka8Eqd uVgFQYIsgPNSynJZ+PUjcpWVYs5veXa2GWMGkmy/jhKb0cnSxCq3ppmGXlbZXc07IGktIFXMu ASJoapqWZEC3+TboV/BqKo1vvRt6IOtKhC6HjwpR7AxYpS/QTuIJLgw5MxPg1uVoeNnPAyD73 ukjp9tBcKj5kQovxQXFoxYTPeOLE1BkXxA40YXcJ9h5xQk+JDaZwg0XyIV/3JEkN6ZHunbAuj 51TPPZaanDsn0ZD7AVNrpSr4kFgrHfzj0JDuNyyPy3ZuGZRIdg67t8XImnY5h9LDmhrKvJZ3q MZavwQUk/HNGTJrqy+29x1nxAQLClg2CRaMoKUQOEdj4D9NOaFUFzAz/UvnV6ouHyp77kRGx4 q2ZpvqYInq4sZBYz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:33:56 -0000 On Wed, 13 Jun 2018 23:46:02 -0400, Lowell Gilbert wrote: > Polytropon writes: > > > On Wed, 13 Jun 2018 23:13:13 +0530, Mayuresh Kathe wrote: > >> On 2018-06-13 09:37 PM, Matthew Seaman wrote: > >> > On 13/06/2018 16:48, Mayuresh Kathe wrote: > >> >> does anyone on this list still use mailx? > >> >> if not regularly, at-least intermittently? > >> > > >> > Given that mail(1) is part of the FreeBSD base system and is pretty > >> > much the same thing as mailx(1), then probably not that many will use > >> > mailx(1). mail(1) is something I do use intermittently. > >> > >> mailx is just a link to mail. :-) > > > > It is actually the same file; check with "ls -li". :-) > > Which doesn't mean it has the same behaviour if called by different names. > [See: 'w' vs. 'uptime'] Fully correct. On historical FreeBSD, there was a directory full of programs (almost) all the same size, (almost) all with different names, (almost) all pointing to the same inode entry; that was /rescue/*. Depending on argv[0], the same (!) program would act totally differently. It is not uncommon on UNIX system to "select" program functionality by program _invocation_, either via hardlink or via symlink. In some cases, it's just different names for the same program with the same behaviour, for providing backward compatibility, mostly for scripts. > In this case, though, I thought they were supposed to behave the same > way in either case, and I can't find any reason to think otherwise. According to "man mail", there is no difference in behaviour listed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...