Talk:Shell one-liner: Difference between revisions

No edit summary
(→‎About C and /tmp: new section)
Line 4:
 
The examples on the page seem to indicate that the task is running a line of the programming language ''from'' a shell; and not doing anything of the shell from the programming language. I am not sure exactly what you are allowed to use; because the OCaml example just echoes a string and pipes it into the ocaml program. You can do that with any language with an interpreter that reads from standard input, so it seems kind of trivial. --[[User:Spoon!|Spoon!]] 19:25, 26 August 2008 (UTC)
 
== About C and /tmp ==
 
Yes but this way it won't work on environments that have not /tmp, or use other convention for directory separator (e.g. \ instead of /); I suppose it would have not worked anyway out of a posix-like shell... --[[User:ShinTakezou|ShinTakezou]] 11:00, 9 February 2009 (UTC)