Re: bash scripting q
- From: Hugo Vanwoerkom <hvw59601@xxxxxxxxx>
- Date: Fri, 29 Sep 2006 08:04:17 -0500
Atle Veka wrote:
In your example you are saying that $a is the function 'do_chrono', so
when you run $a, it runs the function and prints out the result. As
another poster indicated, you need to do it slightly differently:
# execute and store result in $a
a=$( do_chrono )
echo $a
Yup, that too!
Thanks!
H
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- bash scripting q
- From: Hugo Vanwoerkom
- Re: bash scripting q
- From: Atle Veka
- bash scripting q
- Prev by Date: Re: bash scripting q
- Next by Date: Postfix configuration (mail to root)
- Previous by thread: Re: bash scripting q
- Next by thread: Re: bash scripting q
- Index(es):
Relevant Pages
|
|