From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,af8e04a83cfc4269 X-Google-Attributes: gidfee84,public From: Brian Bouchard Subject: Re: Assigning values to a variable Date: 1996/12/31 Message-ID: #1/1 X-Deja-AN: 206959835 references: <5a8n9f$qh8@hdxf08.telecom.ptt.nl> to: gert-jan hilbrands content-type: TEXT/PLAIN; charset=US-ASCII organization: FTP Software, North Andover, Massachusetts mime-version: 1.0 reply-to: brianb@ftp.com newsgroups: comp.unix.osf.osf1 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