what is the cmd to remove the comment lines from a file and
to display the original text without comments?
thanks in advance......
Answer Posted / deepak
sed -e 's/^#//g' -e 's/#//g' input_filename > output_filename
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is grep r?
What is the general format of unix command syntax?
What are grep patterns?
What is nr in awk command?
How to use grep command to list find the records of a file containing 10 different strings?
What is the difference between cat and more command?
What is time_t?
What is the use of egrep command in unix?
How to find $ai_serual resolved path by using unix
Is it inbetween or in between?
Why is grep called grep?
Enumerate some of the most commonly used network commands in unix?
Why is it called a shebang?
How does the system know where one command ends and another begins?
What difference between cmp and diff commands?