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 is the protocol for PING command?
in UNIX,what is the command to remove directory with files?
By using which command we can find the CPU utilization time?
Is it inbetween or in between?
Differentiate cmp command from diff command.
distinguish between paging and swapping?
How do I use grep to search for a file?
what do you understand by 'building block primitive'?
What are the dos commands?
what is Online(STM) and offline diagnostics in HP-UX?
what is the command to print last 8 lines of any text file.
How do you grep recursively?