Re: [Linuxcommand-discuss] question about redirection
Brought to you by:
bshotts
From: Bram M. <bra...@li...> - 2004-02-11 22:27:08
|
On Wed, 2004-02-11 at 18:56, William Shotts wrote: > I see your problem. See my comment below... [...] > > $LOGFILE="/data/logs/evolution.log" > > This is wrong. > It should be: > > LOGFILE="/data/logs/evolution.log" > > No leading "$". $ tells bash to perform a substition. It does not > indicate a variable type as it would in say VisualBasic. Thanks that did it indeed, I also changed: echo "" >> $LOGFILE echo "--- $(date +"%R %A, %B %-d, %Y") ---" >> $LOGFILE to: echo "\n--- $(date +"%R %A, %B %-d, %Y") ---" >> $LOGFILE Just to clean things up. Regards Bram -- # Mertens Bram "M8ram" <bra...@li...> Linux User #249103 # # SuSE 8.2 Pro kernel 2.4.20-4GB i686 128MB RAM # # 11:26pm up 20 days 3:04, 5 users, load average: 0.01, 0.05, 0.01 # |