what is the cmd to remove the comment lines from a file and
to display the original text without comments?
thanks in advance......
Answers were Sorted based on User's Feedback
Answer / susanta polley
sed -e 's/^#//g' input_filename > output_filename
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / deepak
sed -e 's/^#//g' -e 's/#//g' input_filename > output_filename
| Is This Answer Correct ? | 6 Yes | 5 No |
what do you understand by 'building block primitive'?
How can we use grep command in unix?
What is the command to view process running?
How to convert a hidden file to normal visible file?
Explain command to display different lines that are found when compare two files?
Which command can you use to find the currently running process in unix server?
Give Command that will change the name of a directly from paypal to eBay
What are grep patterns?
What are bash commands?
what is the use of wild cards?
How do you find path of a directory? Give its syntax.
What is the use of touch command in there?