<div>hi,</div>
<div>&nbsp;</div>
<div>1) I want to read data not from &lt;STDIN&gt; but from a file which is in specified directory.</div>
<div>2) I want to redirect my output(which is by default STDOUT) to a file.</div>
<div>&nbsp;</div>
<div>Can anybody suggest these queries?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Regards,</div>
<div>Govind</div>