Yuri Karlsbrun wrote:
> Hello,
>
> I, probably, need bash-help mailing list, but I could not find it.
>
> Here is the bash script fragment:
> LOG_FILE="./logfile"
> ...
>> $LOG_FILE
>
> I supposed that the statement above redirects stdout to the logfile.
> But the following 'echo' statement prints on the screen. The logfile is
> opened. What is the real purpose of the statement above?
To create $LOG_FILE if it doesn't exist.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash