I\'m trying to make this command:
sed bla bla filename | awk \'{printf \"%s %s_entry_%.3f %.3f %.3f %.3f\",$1,$3,$4,$5,$6,$7}\'
But the thi
Easiest to use actual awk variables:
sed bla bla filename | awk -v values="$values" '{printf "%s %s_entry_"values,$1,$3,$4,$5,$6,$7}'
Or with bash:
awk -v values="$values" '{printf "%s %s_entry_"values,$1,$3,$4,$5,$6,$7}' <(sed bla bla filename)