RosettaCodeData/Task/Shell-one-liner/Fortran/shell-one-liner.f
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

1 line
194 B
Forth

$ gawk 'BEGIN{print"write(6,\"(2(g12.3,x))\")(i/10.0,besj1(i/10.0), i=0,1000)\nend";exit(0)}'|gfortran -ffree-form -x f95 - | gnuplot -p -e 'plot "<./a.out" t "Bessel function of 1st kind" w l'