Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete a line starting with sed

# Delete all lines starting with '#'
$ sed -i '/^#/d' filepath
 
PREVIOUS NEXT
Tagged: #delete #line #starting #sed
ADD COMMENT
Topic
Name
4+1 =