Advertisement
wellthatsucks

Untitled

Apr 17th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. find_things(){
  2. thing=$1
  3. pattern=$2
  4. file=$source_path/$3
  5. sed -n "s/^[^#]*$pattern.*([^,]*, *\([^,]*\)\(,.*\)*).*/\1_$thing/p" "$file"
  6. }
  7.  
  8. FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement