Open DrCocoaPuffs opened 6 years ago
Lines 135, 136 should have a space after -v -- without it on MacOS, awk version 20070501, I get this error: awk: invalid -v option
This is how it should be:
end=awk -v p="${line[0]}" 'BEGIN{printf "%.0f" ,p*1000}' startnext=awk -v p="${line[1]}" 'BEGIN{printf "%.0f" ,p*1000}'
awk -v p="${line[0]}" 'BEGIN{printf "%.0f" ,p*1000}'
awk -v p="${line[1]}" 'BEGIN{printf "%.0f" ,p*1000}'
Lines 135, 136 should have a space after -v -- without it on MacOS, awk version 20070501, I get this error: awk: invalid -v option
This is how it should be:
end=
awk -v p="${line[0]}" 'BEGIN{printf "%.0f" ,p*1000}'
startnext=awk -v p="${line[1]}" 'BEGIN{printf "%.0f" ,p*1000}'