Hi,
I have an old script (date.sh) that is writing datas (currently just date) to a text file. It is a simple thing When I run this script now, the target file will be created, but the end of the filename will be two dots (proc_stat.txt..)
This is the script:
Thanks!
I have an old script (date.sh) that is writing datas (currently just date) to a text file. It is a simple thing When I run this script now, the target file will be created, but the end of the filename will be two dots (proc_stat.txt..)
This is the script:
Why are the two dots at the end of the file name?LOGFILE=/mnt/WORK/proc_stat.txt
date "+%Y.%m.%d %H:%M:%S" > "$LOGFILE"
Thanks!