I can't figure out how to post the code with long lines on these forums. Bracketing the code with four tildes works ok but only if the code is short:
~~~~
your code goes here
~~~~
Example:
#!/bin/bashbold=`tputbold`normal=`tputsgr0`echo"${bold}**********************"echo"Test Script"echo"**********************${normal}"echo""echo""echo"Test script running ..."echo""echo"Test script run completed."# Script End
If the code line is longer it gets cut off at the right end:
I can't figure out how to post the code with long lines on these forums. Bracketing the code with four tildes works ok but only if the code is short:
~~~~
your code goes here
~~~~
Example:
If the code line is longer it gets cut off at the right end:
The last line should be:
/usr/sbin/ocs-sr -q2 -j2 -z1 -i 1024000 -fsck-src-part-y -p true saveparts lite-$datetime sda21 sda22
Here is how it looks on Ubuntu forums:
http://i.imgur.com/hwFVXLS.png
Last edit: Kirkx 2014-10-02
If you can not find it on
https://sourceforge.net/p/clonezilla/discussion/markdown_syntax_dialog
then you can ask for help on
https://sourceforge.net/support
Steven.
Last edit: Steven Shiau 2014-11-02
Thanks for suggestions. For now, I have figured out a workaround. Throw away the shebang line:
Got it. Thanks for sharing that.
Steven.