Variable assignment in sh
    James B. Byrne 
    byrnejb at harte-lyne.ca
       
    Tue Jan 31 15:06:46 UTC 2017
    
    
  
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 at 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
    
    
More information about the freebsd-questions
mailing list