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 are the commands in UNIX to list the files in a Directory?
How do I search a whole word in vim?
How do you repeat a command in terminal?
What does #!/ Bin sh do?
What is {} in find command?
What is pipe command in unix?
What is difference between grep and find command in unix?
Explain command to display different lines that are found when compare two files?
Is command prompt unix?
What is merge command in unix?
How do I search for text in vi?
what is the advaantage of each user having its own copy of the shell?
What is rmdir command?
What are the general commands in using unix os for a beginner?
What does the md command do?