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 do chmod command do?
What command is used to switching between users in unix?
Are you in or at the office?
Which command is used to create a directory?
How do I use grep to search for a file?
What are the unix commands?
How do I find previous commands in unix?
What is time_t?
What is the search command in unix?
Which unix command to make a new directory?
How do I delete files from command prompt?
What does find command return in unix?
Using unix command how to display no of records in oracle?
How can we use grep command in unix?
What are bash commands?