[Click] print to file in Script
Eddie Kohler
kohler at cs.ucla.edu
Wed Jun 10 13:06:37 EDT 2009
Bhurat,
That script works fine for me on the current code. I think you are probably
trying to run this code in the Linux kernel. It won't work there, though.
For file I/O you need to use user level.
Eddie
Bhurat Prateek wrote:
> s :: Script( print >ok.txt 1,
> print >ok.txt 2 );
> This does not print to the desired file....rather it treats >ok.txt 1 as a atring.What am I doing wrong?
>
> TIA,
> Prateek
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list