Posted By

noah on 06/20/08


regex search String text match grep FileSystem find partial tools fuzzy

Versions (?)

grep for either of two strings

 / Published in: Bash

Here's an example of using grep to filter for links that contain the string 'jpg' or 'gif'

  1. lwp-request -o links | grep -iE "(jpg|gif)"

Report this snippet  

You need to login to post a comment.