On Sat, 6 Oct 2001, Timothy Bolz wrote: > Is there a bash commnad similiar to scanf in C or would you have to use C for > this? > read foo echo $foo > Is there a way to print line #x ? > cat -n <file> |grep <line_number>
would work but i'm sure there's a better way. > Is there a comand which does decimal math? > bc || dc read the man pages before using dc as it uses a stack based calculator HTH
