Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 10:06:37 -0500
From:      "James B. Byrne" <>
Subject:   Variable assignment in sh
Message-ID:  <>

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      
Harte & Lyne Limited
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: <>