I'd like to print "chr" at the begin of each line that doesn't start with "#" in my file.
input :
##toto
#titi
16
17
output :
##toto
#titi
chr16
chr17
I've tried with awk (awk '$1 ~ /^#/ ...
) or grep (grep "^[^#]" ...
) but got no success. How can I accomplish this?
awk -F'\t'
since there can be spaces in the INFO fields.