lib/rake/data/dsl.rb
def filter( dest, source, regex, inverse = false )
      file dest => source do
        sh "grep #{inverse ? '-v' : ''} #{regex} #{source} > #{dest}"
      end
    end
# Command grep patterns
# Regex here is a string that will be passed to grep
Command grep patterns
Regex here is a string that will be passed to grep
Command grep patterns Regex here is a string that will be passed to grep
def filter( dest, source, regex, inverse = false )
      file dest => source do
        sh "grep #{inverse ? '-v' : ''} #{regex} #{source} > #{dest}"
      end
    end
def filter ( dest , source , regex , inverse = false ) file dest => source do sh "grep #{inverse ? '-v' : ''} #{regex} #{source} > #{dest}" end end
Command grep patterns
Regex here is a string that will be passed to grep
Command grep patterns Regex here is a string that will be passed to grep
dest
source
regex
inverse