Answer the question
In order to leave comments, you need to log in
How to use awk to insert # on line 647?
Hello!
Can you please tell me what should be the syntax?
Answer the question
In order to leave comments, you need to log in
How to use awk to insert # on line 647?
awk -i inplace 'NR==647{print "# "$0}NR!=647' a.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question