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 / susanta polley
sed -e 's/^#//g' input_filename > output_filename
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the size of time_t?
How does the system know where one command ends and another begins?
How do I search for text in vi?
What does grep v do?
Name the unix command to find how many days the server has been up.
What is “chmod” command?
What is .sh file?
What is command substitution?
What does #!/ Bin sh do?
What is the significance of the 'tee' command?
Describe the usage and functionality of the command rm –r * in unix?
What difference between cmp and diff commands?
What are the differences among a system call, a library function, and a unix command?
What is the use of the tee command?
What are reported commands?