Date: Tue, 31 Jan 2017 10:06:37 -0500 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: freebsd-questions@freebsd.org Subject: Variable assignment in sh Message-ID: <b831bd9e40321e59910ea8913c7a6302.squirrel@webmail.harte-lyne.ca>
next in thread | raw e-mail | index | archive | help
Why am I getting this result when I attempt a simple variable
assignment in the default sh?
# ENV=$HOME/.shrc; export ENV
ENV=/root/.shrc: Command not found.
export: Command not found.
This example is taken verbatim from the sh manpage provided with FreeBSD.
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b831bd9e40321e59910ea8913c7a6302.squirrel>
