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
Differentiate cmp command from diff command.
What are the unix commands?
Which unix command lists files/folders in alphabetical order?
What does the command ' $who | sort –logfile > newfile' do?
Which command can you use to find the currently running process in unix server?
What is the unix command to confirm a remote host is alive or not?
What are the dos commands?
What is the use of find command in unix?
How do I delete files from command prompt?
What will the following command do?
Is grep faster than awk?
How can you see the command line history?
What does this command do,"$more readme.txt“?
What is grep short for?
What command is used to switching between users in unix?