how to read rows?

Posted by lego69 on Stack Overflow See other posts from Stack Overflow or by lego69
Published on 2010-05-31T13:11:55Z Indexed on 2010/05/31 13:12 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

I'm trying to read first row from the file

> source ./rank file

using this script

set line = ($<)

but when I enter

echo $line I receive nothing, how can I change it? thanks in advance

© Stack Overflow or respective owner

Related posts about bash

Related posts about scripts