Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell get all lines that are in one file and not another

 diff file2 file1 | grep '^>' | sed 's/^> //'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #lines #file
ADD COMMENT
Topic
Name
9+4 =