( ESNUG 199 Item 4 ) ---------------------------------------------- [10/20/94]

From: arthur@wrksys.enet.dec.com (Edward S. Arthur - Alpha Personal Systems)
Subject: Silly dc_shell/Environment Variable Question

Hi, I can't seem to find the answer to this question in any of the docs or
on-line help...  v3.0c of dc_shell...

I have a script in which I want to:

   sh ls -l netlist.v | Mail -s \"Netlist-completed\" $USER

I want to mail to $USER instead of "designer" since we do not always
have this variable set from user to user.  $USER does not work, I can't
seem to get access to Unix environment variables or get them into a
dc_shell variable.  Can it be done?

  - Ed Arthur
    Digital Equipment Corp.



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)