cat << EOT > hello.c
#include <stdio.h>
int main(int argc, char *args[])
{
printf("Hello, world!\n");
return 0;
}
EOT
gcc -o hello hello.c
gcc hello.c -o hello.exe
./hello # => helloWorld!
cat << EOT > hello.c
#include <stdio.h>
int main(int argc, char *args[])
{
printf("Hello, world!\n");
return 0;
}
EOT
gcc -o hello hello.c
gcc hello.c -o hello.exe
./hello # => helloWorld!