Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Assigning values to a variable
@ 1996-12-30  5:00 gert-jan hilbrands
  1996-12-31  5:00 ` Brian Bouchard
  0 siblings, 1 reply; 2+ messages in thread
From: gert-jan hilbrands @ 1996-12-30  5:00 UTC (permalink / raw)



Hello everybody

I'm trying to assign the output of a UNIX (osf) command to a variable. 
I've tried it already with  variable='command', but that didn't work 
out. Does anyone know what to do ? 

Thanks





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Assigning values to a variable
  1996-12-30  5:00 Assigning values to a variable gert-jan hilbrands
@ 1996-12-31  5:00 ` Brian Bouchard
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Bouchard @ 1996-12-31  5:00 UTC (permalink / raw)
  To: gert-jan hilbrands


Try using backwards single quotes:

variable=`command`

Brian

On 30 Dec 1996, gert-jan hilbrands wrote:

> Hello everybody
> 
> I'm trying to assign the output of a UNIX (osf) command to a variable. 
> I've tried it already with  variable='command', but that didn't work 
> out. Does anyone know what to do ? 
> 
> Thanks
> 
> 
> 
> 

*************************************************************************
*  Brian Bouchard                                   phone (508)684-2595 *
*  Information Systems                                fax (508)684-6557 *
*  FTP Software, Inc.                            email "brianb@ftp.com" *
*  100 Brickstone Sq.,  5th Fl.						*
*  Andover, MA  01810  USA						*
*************************************************************************

     ff
    f  f
    f
  fffff  t
    f    t
    f  ttttt  pppp
    f    t    p   p
         t    p   p
          tt  pppp
              p
              p
              p




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-31  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-30  5:00 Assigning values to a variable gert-jan hilbrands
1996-12-31  5:00 ` Brian Bouchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox