3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

compiler_vm: updated README example to use single quotes correctly

This commit is contained in:
Pragmatic Software 2011-02-01 03:09:18 +00:00
parent 5e9fbf1d16
commit be8c03ba27

View File

@ -10,7 +10,7 @@ without installing qemu. No PBot installation or configuration is required in t
To use the local non-vm 'cc' script, you will need to have gcc, gdb and astyle installed locally. To use the local non-vm 'cc' script, you will need to have gcc, gdb and astyle installed locally.
Be aware that you need to single-quote or escape the code if you use the local 'cc' within a shell, Be aware that you need to single-quote or escape the code if you use the local 'cc' within a shell,
e.g.: ./cc $'char s[] = "hello, world"; puts(s); if(s[0] == 'h') puts("true");' e.g.: ./cc $'char s[] = "hello, world"; puts(s); if(s[0] == \'h\') puts("true");'
WARNING: Using the local 'cc' script outside of the virtual machine will not use qemu at all; WARNING: Using the local 'cc' script outside of the virtual machine will not use qemu at all;
it will affect local system -- compile "safe" code! it will affect local system -- compile "safe" code!