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 the difference between grep and grep?
What does awk stand for?
Write a command that will display files in the current directory, in a colored, long format.
What is the use of tee command?
Name the general commands in using unix os for a beginner?
How do you grep a case insensitive?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Which command will print your home directory on screen?
What is the use of the tee command?
Why is awk called awk?
What is the comma to show the space allocation of files?
Are you in or at the office?
Why is it called a shebang?
What is the general format of unix command syntax?
What do chmod, chown, chgrp commands do?