Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: remus on September 16, 2014, 02:23:41 AM
-
Hi all,
Doing a little basic shell scripting, and noticed that my script writes the \n character on screen, instead of creating a new line.
Heres an example
echo "\n" $sep "SUCCESS Remote backup COMPLETED on $DateTime. E-mail sent with details.\n"
Will write the following to screen.
\n -------------------------------------------------------------------\n SUCCESS Remote backup COMPLETED on 06:23:13 AM 16-23-2014. E-mail sent with details.\n
-
echo -e "\n"
-
thanks bmarkus, that works, its not required in ubuntu, is this the tinycore way ?
-
Not TC, BusyBox shell. On system level forget *BUNTU as a reference.
It is a good practice to study TC scripts before writing scripts for TC.