Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] Bash programming
  • From: John Meyer <john.l.meyer@xxxxxxxxx>
  • Date: Tue, 16 Jan 2007 05:49:35 -0700
  • Message-id: <45ACC9DF.5040103@xxxxxxxxx>
Dominique Leuenberger wrote:
>>>> On 16-01-2007 at 14:39, John Meyer <john.l.meyer@xxxxxxxxx> wrote:
>> I've started with the following script:
>>
>> myfilename = $(date +%m%d%y) + ".tar.gz"
>> echo $myfilename
>>
>> It is giving me this error: ./backupfiles.sh: line 1: myfilename:
>> command not found. I know I'm doing something wrong here, just
> can't
>> figure out what.
>
> simply remove the spaces and you're set for this case.
>
> Dominique
> ICT: 18018127



Thanks. Knew I was doing something wrong. Goes to show that coloring
in emacs actually means something.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References