home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5145 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!news!nosc!nessus!mcdono
  3. From: mcdono@nosc.mil (Tim McDonough CSC Room 191 Phone 553 3102 )
  4. Subject: Re: wanted: tutorial about sh programming
  5. Message-ID: <1992Dec23.191853.24899@nosc.mil>
  6. Summary: Csh formatting
  7. Sender: usenet@nosc.mil (Network News)
  8. Reply-To: mcdono@nosc.mil
  9. Organization: NCCOSC, NRaD Division
  10. References: <1992Dec23.161830.20091@Celestial.COM>
  11. Date: Wed, 23 Dec 1992 19:18:53 GMT
  12. Lines: 17
  13.  
  14.  
  15. I'd like the following line to produce the output below it.
  16.  
  17. echo "Hostname is " $system "   Host id is " $hostid
  18.  
  19. Hostname is foo     Host id is 78454
  20. Hostname is fooobar Host id is 89000
  21.  
  22. I tried removing the quotes to no avail, any ideas?
  23. mcdono@sunspot.nosc.mil
  24.  
  25.  
  26. ---
  27. Tim McDonough                   |   The opinions voiced are my own and
  28. Computer Sciences Corp.         |   do not reflect those of my employer
  29. mcdono@sunspot.nosc.mil         |   or the Susquehanna Hat Company.
  30.  
  31.