On Sat, Dec 28, 2024 at 2:48 PM Florian Weimer <[email protected]> wrote:
> [...]
>
>
> Still it would be a nice touch if we could do
>
> #!/usr/bin/gcc -f
> #include <stdio.h>
> int main()
> {
> puts("Hello, world");
> return 0;
> }
>
re previously mentioned "root"
>>> cat d
#include <stdio.h>
int main(void)
{
puts("Hello, world, you can ignore all that particle physics if you like.\n");
return 0;
}
>>> root -b <d
------------------------------------------------------------------
| Welcome to ROOT 6.34.02 https://root.cern |
| (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Dec 15 2024, 18:15:13 |
| From tags/6-34-02@6-34-02 |
| With c++ (GCC) 14.2.1 20241214 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
Hello, world, you can ignore all that particle physics if you like.
(batch mode)