RE: Variables in bash


Subject: RE: Variables in bash
From: Jason Richards (jrichards@gci.com)
Date: Mon Apr 01 2002 - 10:48:17 AKST


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

#!/bin/bash

dest='/test/';

echo $dest;

exit;

- -----Original Message-----
From: Mike Barsalou [mailto:mbarsalou@aidea.org]
Sent: Monday, April 01, 2002 10:40 AM
To: 'aklug@aklug.org'
Subject: Variables in bash

How would I do:

$dest = "/test/" ;

in a bash shell?

I want the variable $dest to have the value /test/. I have tried
with
quotes, without quotes, double quotes...I looked in the man page but
didn't
find anything that would help me.

I know it is something simple...but I don't use bash scripting
regularly
enough.

Mike

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPKi5SI8vEdG6AP6ZEQKfJgCgzMsS1QklQNkQmK/H1fxTRPWVDggAoJjt
W+XcqZmjXc9GEOxq0YqYML0M
=EQf5
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2a23 : Mon Apr 01 2002 - 10:48:29 AKST