Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Brian Bouchard <bbouchar@ftp.com>
To: gert-jan hilbrands <g.j.hilbrands@ptt-telecom.unisource.nl>
Subject: Re: Assigning values to a variable
Date: 1996/12/31	[thread overview]
Message-ID: <Pine.OSF.3.95.961231110734.23663D-100000@tap-magic.ftp.com> (raw)
In-Reply-To: 5a8n9f$qh8@hdxf08.telecom.ptt.nl


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




      reply	other threads:[~1996-12-31  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-30  5:00 Assigning values to a variable gert-jan hilbrands
1996-12-31  5:00 ` Brian Bouchard [this message]
read-only archive

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