Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 06:01:07 +0200
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: mailx anyone?
Message-ID:  <20180614060107.0b8631d1@archlinux>
In-Reply-To: <44po0uyqrp.fsf@lowell-desk.lan>
References:  <70677739ac5a415c5004ea551a7458b0@kathe.in> <c458985f-ecc5-0c20-df8a-a106886d8df6@FreeBSD.org> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180613204623.3705ae36.freebsd@edvax.de> <44po0uyqrp.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Jun 2018 23:46:02 -0400, Lowell Gilbert wrote:
>Polytropon <freebsd@edvax.de> writes:
>> It is actually the same file; check with "ls -li". :-)  
>
>Which doesn't mean it has the same behaviour if called by different
>names.

#!/bin/dash
case $(basename $0) in
  foo) printf "foo\n";;
  bar) printf "bar\n";;
esac
exit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180614060107.0b8631d1>