home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- 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
- From: mcdono@nosc.mil (Tim McDonough CSC Room 191 Phone 553 3102 )
- Subject: Re: wanted: tutorial about sh programming
- Message-ID: <1992Dec23.191853.24899@nosc.mil>
- Summary: Csh formatting
- Sender: usenet@nosc.mil (Network News)
- Reply-To: mcdono@nosc.mil
- Organization: NCCOSC, NRaD Division
- References: <1992Dec23.161830.20091@Celestial.COM>
- Date: Wed, 23 Dec 1992 19:18:53 GMT
- Lines: 17
-
-
- I'd like the following line to produce the output below it.
-
- echo "Hostname is " $system " Host id is " $hostid
-
- Hostname is foo Host id is 78454
- Hostname is fooobar Host id is 89000
-
- I tried removing the quotes to no avail, any ideas?
- mcdono@sunspot.nosc.mil
-
-
- ---
- Tim McDonough | The opinions voiced are my own and
- Computer Sciences Corp. | do not reflect those of my employer
- mcdono@sunspot.nosc.mil | or the Susquehanna Hat Company.
-
-