Hi, I want to read lines from a file, and I'm using two methods
1 use
2 use
however, in both of them, I notice that the tab between fields are automatically converted to space
because I want to use awk over the lines, I hope the 'tab' can be kept
are there any ways? thanks
1 use
Code:
while read line
do
done<filename
Code:
line=`sed -n '3p' filename`
because I want to use awk over the lines, I hope the 'tab' can be kept
are there any ways? thanks