Bash Scripting

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C.
Date:  
Subject: Bash Scripting
Thanks Kevin. That was exactly th problem. I didn't see the difference
between '(bad) and `(good). Also thank you group for your quick help.


On 13 Apr 2002 13:53:28 -0700, KevinO wrote:
> Bryce C. wrote:
> > Unfortunately, bash doesn't put the executed output in the variable, it
> > puts the text itself in. Any other ideas?
>
> Are you referring to this ? : DATE=`date +%m-%d-%y`
>
> This does indeed work. Make sure that you get the ticks pointing the right
> way. Make sure that you are using bash. The first line of your script may need
> to be : #!/bin/bash to insure this.
>
>
> --
> Kevin O'Connor
>
> "People will be free to devote themselves to activities that are fun ...
>
> The GNU Manifesto - Copyright (C) 1985, 1993 Free Software Foundation, Inc.
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>