i have a file called file1 containing the following
firstname lastname location etc
second line
third line
i am using this code
read a b c < file1
echo $a $b $c
the output i am getting is
firstname lastname location etc
so my program is taking
a = firstname
b = lastname
c= location etc
how can i get my program to take
c= location etc second line third line
You can use
-d
flag inread
: